A set of tools to make working with service easier in Laravel
- Creates trait by using artisan command
- Creates service by using artisan command
- Creates controller service by using artisan command
- Add common functions that require to create API
You can install this package using Composer.
composer require joy2362/service-generatorPublish lang file:
php artisan vendor:publish --tag="service-generator-stub"Publish stub file:
php artisan vendor:publish --tag="service-generator-lang"File location app/trait
php artisan make:trait NotifiableTraitFile location app/service
php artisan make:service CategoryServiceFile location app/service && app/Http/Controllers
php artisan make:c-s CategoryFile location app/service && app/Http/Controllers && app/Http/Requests
php artisan make:c-s Category --apiTip: if the name matches with any model then it will generate crud operation
Please see Releases for more information on what has changed recently.
Pull requests are more than welcome. You must follow the PSR coding standards.
If you discover any security-related issues, please email abdullahzahidjoy@gmail.com instead of using the issue tracker.