| Package Data | |
|---|---|
| Maintainer Username: | getsolaris |
| Maintainer Contact: | getsolaris.kr@gmail.com (getsolaris) |
| Package Create Date: | 2018-10-16 |
| Package Last Update: | 2025-06-30 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-27 03:14:18 |
| Package Statistics | |
|---|---|
| Total Downloads: | 142,835 |
| Monthly Downloads: | 3,622 |
| Daily Downloads: | 68 |
| Total Stars: | 81 |
| Total Watchers: | 5 |
| Total Forks: | 16 |
| Total Open Issues: | 0 |
Create a new service class and service interface
composer require getsolaris/laravel-make-service --dev
getsolaris.kr@gmail.com
$ php artisan make:service {name : Create a service class} {--i : Optional of create a service interface}
$ php artisan make:service UserService
<?php
// app/Http/Services/UserService.php
namespace App\Services;
/**
* Class UserService
* @package App\Services
*/
class UserService
{
}
v1.0.x -> contract
v1.1.x -> interface
$ php artisan make:service UserService --i
<?php
// app/Http/Services/Contracts/UserServiceInterface.php
namespace App\Services\Interfaces;
/**
* Interface UserServiceInterface
* @package App\Services\Interfaces
*/
interface UserServiceInterface
{
}