chicongst / porto
Easy to make Action and Task
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/chicongst/porto
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"