Download the PHP package chipaau/support without Composer
On this page you can find all versions of the php package chipaau/support. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download chipaau/support
More information about chipaau/support
Files in chipaau/support
Package support
Short Description laravel framework based, integrated with jsonapi support library with extended validation support
License MIT
Informations about the package support
Laravel 5.3+ Support Module
This package includes a bunch of generators out of the box:
support:resource
support:resource:controller
support:resource:model
support:resource:repository
support:resource:request
support:resource:route
support:resource:schema
support:resource:validator
More features are on their way
Usage
Step 1: Install Through Composer
Step 2: Add the Service Provider
You'll only want to use these generators for local development, so you don't want to update the production providers
array in config/app.php
. Instead, add the provider in app/Providers/AppServiceProvider.php
, like so:
Step 3: Run Artisan!
You're all set. Run php artisan
from the console, and you'll see the new commands in the support:*
namespace section.
Examples
- Creating full resource bundles
- Creating individual elements of resource
- Generating resources for modules
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 support module to work. This bundle includes:
Resource controller
Resource model
Resource repository
Resource request
Adding the Resource route to the routes file
Resource schema
Resource validator
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.
Generating resources for modules
This would copy the configuration file required for modular file generation to the config
directory.
This would create the whole bundle required for the support module, inside the modules folder included in the config/support.php
configuration file. This could be used with all the other available artisan commands.
All versions of support with dependencies
illuminate/validation Version 5.*
illuminate/support Version 5.*
illuminate/container Version 5.*
illuminate/config Version 5.*