Download the PHP package maadhih/reinforcement without Composer
On this page you can find all versions of the php package maadhih/reinforcement. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package reinforcement
Laravel Reinforcements
This package includes artisan generators out of the box:
reinforcement:migration
reinforcement:resource
reinforcement:controller
reinforcement:model
reinforcement:repository
reinforcement:request
reinforcement:route
reinforcement:validator
reinforcement:seeder
Usage
Step 1: Install Through Composer
Step 2: Laravel Package Discovery
Run php artisan package:discover
to make sure the package is discoverd by Laravel.
Step 3: Run Artisan!
You're all set. Run php artisan
from the console, and you'll see the new commands in the reinforcement:*
namespace section.
*Note: The commands will only be available when APP_ENV
is set to local
Examples
- Creating full resource bundles
- Creating individual elements of resource
Creating full resource bundles
Notice the format that we use, when giving the command more than 1 resource to create, we separate them with spaces
This would create the whole bundle required for the reinforcement module to work. This bundle includes:
Resource migration
Resource controller
Resource model
Resource repository
Resource request
Adding the Resource route to the routes file
Resource validator
Resource seeder
Creating individual elements of resource
This would create the controllers for the required resources. This could be used with all the other available artisan commands.
All versions of reinforcement with dependencies
illuminate/validation Version 5.7.*
illuminate/support Version 5.7.*
illuminate/container Version 5.7.*
illuminate/config Version 5.7.*
illuminate/database Version 5.7.*
illuminate/console Version 5.7.*
danielstjules/stringy Version ~3.1.0