create service class and service interface for laravel
st-man-hori/laravel-make-service is a Laravel package for create service class and service interface for laravel.
It currently has 0 GitHub stars and 35 downloads on Packagist (latest version v1.0.0).
Install it with composer require st-man-hori/laravel-make-service.
Discover more Laravel packages by st-man-hori
or browse all Laravel packages to compare alternatives.
Last updated
$ composer require st-man-hori/laravel-make-service --dev
php artisan make:service {name}
$ php artisan make:service UserService
Services/Userservice.php
<?php
namespace App\Services;
use App\Services\UserServiceInterface;
class UserService implements UserServiceInterface
{
//
}
Services/UserserviceInterface.php
<?php
namespace App\Services;
interface UserServiceInterface
{
//
}