PHP code example of gmo-ecs / ecs-command

1. Go to this page and download the library: Download gmo-ecs/ecs-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/ */

    

gmo-ecs / ecs-command example snippets

shell
php artisan vendor:publish --tag="base-repository"
shell
php artisan make:repository TestRepository
shell
php artisan make:repository TestRepository --model=Test
shell
php artisan make:service TestService
shell
php artisan make:service TestService --repository=TestRepository
shell
php artisan make:service TestService --repository=TestRepository --model=Test
shell
php artisan make:controller TestController --repository=TestRepository
shell
php artisan make:controller TestController --repository=TestRepository --model=Test