PHP code example of scuti / service-generator

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

    

scuti / service-generator example snippets


composer 

php artisan vendor:publish --provider="Scuti\Admin\ServiceGenerator\ServiceGeneratorProvider"

// Config file
// service_layer.php
return [
    'service_path' => 'Services', // The path of Service folder 
    'allow_implement_interface' => false, // User the interface or not
];

php artisan make:service NameOfService