Download the PHP package felipedamacenoteodoro/makeservicerepository without Composer
On this page you can find all versions of the php package felipedamacenoteodoro/makeservicerepository. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download felipedamacenoteodoro/makeservicerepository
More information about felipedamacenoteodoro/makeservicerepository
Files in felipedamacenoteodoro/makeservicerepository
Package makeservicerepository
Short Description Generate service and repository file and interface
License MIT
Homepage https://github.com/felipedamacenoteodoro/makeservicerepository
Informations about the package makeservicerepository
Make Service Repository
Quickly generate command make for Service and Repository files for projects using Laravel packages.
Install
Via Composer
Custom directory
Publish the config file and customize your service and repository folder
Usage
Open the console and enter one of the commands:
-
Generate all files for one new Service and Repository interface:
-
Generate only Repository Interface class
-
Generate only Service Interface class
-
Generate a Service, You will be asked if you want to create the interface too
- Generate a Repository, You will be asked if you want to create the interface too
Remember
You need to map the interface bind on your application server provider.
- Exemple:
Add In the boot method of your service provider app/Providers/AppServiceProvider.php
:
- add on boot method
Change log
Please see CHANGELOG for more information what has changed recently.