chicongst / porto
Easy to make Action and Task
v1.0.2
2020-11-29 12:46 UTC
README
Easy to make Action and Taks with Porto structure.
Install
composer require chicongst/porto
Config
You may want to save the root of your project folder out of the app and add another namespace, for example
'namespace'=> 'App\\Containers\\', 'generator'=>[ 'action-stub' => app_path('stubs/action.stub'), 'task-stub' => app_path('stubs/task.stub') ]
Commands
To generate everything you need, run this command:
php artisan porto:action Service/ActionName
php artisan porto:task Service/TaskName
Publish Configuration
php artisan vendor:publish --provider="Chicongst\Porto\ServiceProvider"