Download the PHP package sergeybruhin/laravel-service without Composer
On this page you can find all versions of the php package sergeybruhin/laravel-service. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sergeybruhin/laravel-service
More information about sergeybruhin/laravel-service
Files in sergeybruhin/laravel-service
Package laravel-service
Short Description Laravel service layer stubs and utils
License MIT
Homepage https://github.com/sergeybruhin/laravel-service
Informations about the package laravel-service
Laravel Service Package
sergeybruhin/laravel-service provides service-module generators for Laravel applications.
It creates a dedicated service structure with providers, contracts, facades, actions, handlers, events, broadcast events, listeners, jobs, commands, data objects, DTOs, and exceptions.
Requirements
- PHP 8.2+
- Laravel 11+
Installation
Create a Service
This creates the service shell:
You may also use the backward-compatible aliases:
Full Service Scaffold
The --full option also creates default extendable service artifacts:
Generate Service Artifacts
All generators support:
Package Support Classes
Generated events, broadcast events, listeners, and exceptions extend package-level support classes:
These defaults keep service modules consistent without copying shared abstract classes into every application.
Checklist
- [x] Add ability to create Actions for specific service
- [x] Add ability to create Handlers for specific service
- [x] Add ability to create Jobs for specific service
- [x] Add ability to create Events for specific service
- [x] Add ability to create Broadcast Events for specific service
- [x] Add ability to create Listeners for specific service
- [x] Add ability to create Commands for specific service
- [x] Add full service scaffold option
- [x] Add package-level support classes
- [x] Add tests
Testing
Changelog
Please see CHANGELOG for more information about what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Sergey Bruhin
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-service with dependencies
illuminate/console Version ^11.0|^12.0|^13.0
illuminate/contracts Version ^11.0|^12.0|^13.0
illuminate/filesystem Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0