PHP code example of lozemc / laravel-services

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

    

lozemc / laravel-services example snippets


protected $commands = [
    
    // ...

    \App\Console\Commands\ServiceMakeCommand::class,
];

return [

    // ...

    Lozemc\Services\Providers\MakeServiceProvider::class,
];
bash
php artisan make:service PostService