PHP code example of cooper / laravel-custom-make-command
1. Go to this page and download the library: Download cooper/laravel-custom-make-command 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/ */
cooper / laravel-custom-make-command example snippets
php artisan make:service demo
// Service [app/Services/DemoService.php] created successfully.
php artisan make:repository demo
// Repository [app/Repositories/DemoRepository.php] created successfully.
php artisan make:action demo
// Action [app/Actions/DemoAction.php] created successfully..
php artisan make:dao demo
// DAO [app/DAOs/DemoDAO.php] created successfully.