Download the PHP package nazonhou/laravel-service-creator without Composer
On this page you can find all versions of the php package nazonhou/laravel-service-creator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nazonhou/laravel-service-creator
More information about nazonhou/laravel-service-creator
Files in nazonhou/laravel-service-creator
Package laravel-service-creator
Short Description A package that help you to create easily business services for your application
License MIT
Homepage https://github.com/nazonhou/laravel-service-creator
Informations about the package laravel-service-creator
A package that help you to create easily business services for your application
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
Support us
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
Installation
You can install the package via composer:
Usage
You can create a service file with his contract and service provider by running:
This command will create :
- A NameService.php file in the app/Services directory with is the service contract (an interface)
- A NameServiceImplementation.php file in the app/Services directory which implement NameService
- A NameServiceProvider.php file in app/Providers directory which is a service provider which contains the binding from the NameService to the NameServiceImplementation in the service container
You can only generate a service file by running.
You can also generate a service file with his contract without their service provider file by running.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- AZONHOU Nelson
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-service-creator with dependencies
spatie/laravel-package-tools Version ^1.9.2
illuminate/contracts Version ^9.0