PHP code example of joy2362 / service-generator

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

    

joy2362 / service-generator example snippets


php artisan make:trait NotifiableTrait

php artisan make:service CategoryService

php artisan make:c-s Category

php artisan make:c-s Category --api
bash
php artisan vendor:publish --tag="service-generator-stub"
bash
php artisan vendor:publish  --tag="service-generator-lang"