The package use to generate a module with JSONAPI spec.
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,
]
Run this command with format:
php artisan generator:run events --dir='./packages' --namespace='Kun\Events'
Please see CHANGELOG for more information what has changed recently.
$ composer test
Please see CONTRIBUTING and CONDUCT for details.
The MIT License (MIT). Please see License File for more information.