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

This package is not auto-updated.

Last update: 2024-04-27 16:20:27 UTC


README

Build Status Latest Stable Version Total Downloads Monthly Downloads Daily Downloads

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.