masterskill/service-package

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

2.0.2 2023-10-16 05:39 UTC

This package is auto-updated.

Last update: 2024-06-16 07:13:47 UTC


README

The Project

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 :)