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:migrationreinforcement:resourcereinforcement:controllerreinforcement:modelreinforcement:repositoryreinforcement:requestreinforcement:routereinforcement:validatorreinforcement: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 migrationResource controllerResource modelResource repositoryResource requestAdding the Resource route to the routes fileResource validatorResource 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