Download the PHP package mattyeend/laravel-model-service without Composer
On this page you can find all versions of the php package mattyeend/laravel-model-service. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-model-service
Laravel Model Service Generator
Extends Laravel's make:model Artisan command to also generate a Service class in app/Services when using the -s (or --service) flag.
Features
- Works with Laravel 10, 11, 12, and 13
- Fully PSR-4 compliant
- Generates service alongside model, migration, and controller
- Seamlessly integrates with all existing
make:modeloptions
Installation
Laravel will auto-discover the service provider.
Usage
This will create:
Flags
-m— Create migration-c— Create controller-r— Resource controller-S/--service— Create service
Customising the Service Stub
You can publish the stub to modify the generated service file:
This will place stubs/service.stub in your project root.
Modify it to fit your coding standards.
License
This package is licensed under the MIT License.
Contributing
Feel free to fork the repository and submit pull requests for improvements or new features!
All versions of laravel-model-service with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
illuminate/support Version ^10.0|^11.0|^12.0 || ^13.0
illuminate/filesystem Version ^10.0|^11.0|^12.0 || ^13.0
illuminate/console Version ^10.0|^11.0|^12.0 || ^13.0
laravel/framework Version ^10.0 || ^11.0 || ^12.0 || ^13.0
illuminate/support Version ^10.0|^11.0|^12.0 || ^13.0
illuminate/filesystem Version ^10.0|^11.0|^12.0 || ^13.0
illuminate/console Version ^10.0|^11.0|^12.0 || ^13.0
laravel/framework Version ^10.0 || ^11.0 || ^12.0 || ^13.0
The package mattyeend/laravel-model-service contains the following files
Loading the files please wait ...