PHP code example of st-man-hori / laravel-make-service

1. Go to this page and download the library: Download st-man-hori/laravel-make-service 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/ */

    

st-man-hori / laravel-make-service example snippets


Services/Userservice.php



namespace App\Services;

use App\Services\UserServiceInterface;

class UserService implements UserServiceInterface
{
    //
}

Services/UserserviceInterface.php



namespace App\Services;

interface UserServiceInterface
{
    //
}
bash
$ php artisan make:service UserService