crthiago/laravel-services-actions

This package is designed to help developers generate the Services and Actions layer in their Laravel applications.It provides a set of commands to generate the necessary files and folders, as well as a template for the Service and Action classes.

0.1.0 2023-04-13 19:43 UTC

This package is auto-updated.

Last update: 2024-11-13 23:13:55 UTC


README

This package is designed to help developers generate the Services and Actions layer in their Laravel applications. It provides a set of commands to generate the necessary files and folders, as well as a template for the Service and Action classes.

Installation

To install the package, use Composer:

composer require --dev crthiago/laravel-services-actions

Configuration

To publish the configuration file, run the following command:

php artisan vendor:publish --provider="Crthiago\LaravelServicesActions\ServicesActionsProvider"

Usage

To generate a Service, run the following command:

php artisan make:service <model>

To generate an Action, run the following command:

php artisan make:action <name>

Contribution

Contributions to the Laravel Services and Actions package are welcome!

If you find a bug or have a feature request, please create a new issue. If you would like to contribute code, please create a new pull request with your changes. Thank you for your interest!

License

The Laravel Services and Actions package is open-sourced software licensed under the MIT license.