kun391 / laravel-generator
The package use to generate a module with JSONAPI spec
dev-master / 1.0.x-dev
2016-06-07 07:48 UTC
Requires
- php: ~5.5|~7.0
- illuminate/support: ~5.2
Requires (Dev)
- orchestra/testbench: ~3.0
- phpunit/phpunit: 4.*
- satooshi/php-coveralls: dev-master
- scrutinizer/ocular: ~1.1
- squizlabs/php_codesniffer: ~2.3
This package is not auto-updated.
Last update: 2024-11-09 19:09:14 UTC
README
The package use to generate a module with JSONAPI spec.
Install
Via Composer
$ composer require kun391/laravel-generator
Or add the following to your composer.json file :
"require": {
"kun391/laravel-generator": "dev-master",
},
$ composer update
Then register service provider with in config/app.php:
'providers' => [
...
Kun\Generator\GeneratorServiceProvider::class,
]
and add alias Input to aliases
'aliases' => [
...
'Input' => Illuminate\Support\Facades\Input::class,
]
Usage
Run this command with format:
php artisan generator:run events --dir='./packages' --namespace='Kun\Events'
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details.
License
The MIT License (MIT). Please see License File for more information.