juddling / specification-generator
There is no license information available for the latest version (0.2.0) of this package.
Generate Laravel migrations base on specification files
0.2.0
2018-02-16 14:33 UTC
Requires
- php: >=7.1
- illuminate/console: 5.4 - 5.5
- illuminate/support: 5.4 - 5.5
- myclabs/php-enum: ^1.5
- netsells/laravel-migration-generator: ^0.5
- symfony/yaml: 3.0 - 4.0
Requires (Dev)
- nunomaduro/collision: ^1.1
- phpunit/phpunit: ^6.5
README
This project parses a Swagger 2.0 specification file and generates Laravel:
- models
- routes
- requests
- model factories
- controllers
- blade form templates
- database migrations
Installation
Run:
composer require juddling/specification-generator --dev
Laravel 5.4 and below add the following service provider to config/app.php
:
\Juddling\Parserator\GeneratorServiceProvider::class,
Usage
php artisan swagger:generate spec.yaml