kun391 / laravel-generator
The package use to generate a module with JSONAPI spec
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/kun391/laravel-generator
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: 2025-09-27 23:57:50 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.