masterskill/service-package

This is a package that allows you to automatically create services in Laravel.

Installs: 143

Dependents: 0

Suggesters: 0

Security: 0

Stars: 9

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/masterskill/service-package

3.0.0 2024-10-20 05:45 UTC

This package is auto-updated.

Last update: 2025-09-21 17:39:53 UTC


README

This is a project that creates a Laravel package for automatically generating a Service file in app\Services with the default namespace App\Services.

Prerequisites

  • Laravel framework: ">=9.0"
  • PHP: ">=8.0"

Installation

To install the package, run the following command:

composer require masterskill/service-package

Publish the config file

To publish the config file, run the command:

php artisan vendor:publish --tag=config

The config file will be registered as 'service-package.php' under config folder.

Creating a Service

To create a new service, use the following Artisan command:

php artisan make:service MyService

Author

Note

  • Namespace is based on App\

Enjoy it :)