howyi / conv-laravel
MySQL migration query auto generate on Laravel/Lumen
Fund package maintenance!
v3.1.0
2026-09-15 03:55 UTC
Requires
- php: >=8.1
- howyi/conv: ^2.2
- illuminate/console: ^5.5 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0
- illuminate/support: ^5.5 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
MySQL migration query auto generate on Laravel/Lumen
Requirements
- PHP 8.1 or later
- Laravel 5.5 through 13 (Laravel 13 requires PHP 8.3 or later)
- Lumen applications using compatible illuminate/support and illuminate/console versions
Install
- require library (Laravel/Lumen)
composer require "howyi/conv-laravel" --dev
- publish config (only Laravel)
php artisan vendor:publish --provider="Howyi\ConvLaravel\ConvServiceProvider"
- schema initialize (Laravel/Lumen)
php artisan conv:reflect
generate CREATE queries on database/schemas
Usage
- edit CREATE query (in schema directory)
php artisan conv:generateto generate migrations from actual Database - CREATE queriesphp artisan migrateto migration