PHP code example of felipetti / service-layer

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

    

felipetti / service-layer example snippets


'service_folder_path' => app_path('Services')

'stub_folder_path' => base_path('stub')

'parameters' => '-mfsc'
bash
php artisan make:service UserService
bash
php artisan vendor:publish --tag=service-layer-config
bash
php artisan vendor:publish --tag=service-layer-stub