PHP code example of chicongst / porto
1. Go to this page and download the library: Download chicongst/porto library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
chicongst / porto example snippets
'namespace'=> 'App\\Containers\\',
'generator'=>[
'action-stub' => app_path('stubs/action.stub'),
'task-stub' => app_path('stubs/task.stub')
]
terminal
php artisan porto:action Service/ActionName
php artisan porto:task Service/TaskName
shell
php artisan vendor:publish --provider="Chicongst\Porto\ServiceProvider"