![Latest Version on Packagist][ico-version]
Via Composer
$ composer require yevhenii/laravel-migration-vise-versa
$ php artisan table:model posts
Where "posts" is name of table.
Will be created :
- model "Post" with fillable array
$ php artisan table:model posts --m
Where "posts" is name of table.
Will be created :
- model "Post" and migration "create_posts_table"
$ php artisan table:migration posts
Where "posts" is name of table.
Will be created :
- migration file "create_posts_table"
$ php artisan table:migration posts --m
Where "posts" is name of table.
Will be created :
- migration file "create_posts_table" and "Post" Model
If you discover any security related issues, please email author email instead of using the issue tracker.
license. Please see the license file for more information.