st-man-hori/laravel-make-service

create service class and service interface for laravel

Installs: 29

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/st-man-hori/laravel-make-service

v1.0.0 2023-05-08 03:06 UTC

This package is not auto-updated.

Last update: 2025-10-21 13:43:56 UTC


README

Install

$ composer require st-man-hori/laravel-make-service --dev

Usage

php artisan make:service {name}

Example

$ 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
{
    //
}