- A light weight php CLI tool for reverse engineering existing databases to laravel migrations, models, seeders
-
Clone this repo
-
Run Composer install
-
Run the script via terminal
-
Type help on the terminal to display the full command list and thier functions
php index.php
create migrations users
create migrations
create seeders users
Creating : 2020_09_21_61920_create_migrations_table.php
Created :2020_09_21_61920_create_migrations_table.php
Creating : 2020_09_21_61921_create_test_table.php
Created :2020_09_21_61921_create_test_table.php
help
Commands Description connect Connects to a new database create seeders Create database seeder for table create models Create database models for table create migrations Create database migrations for table create migrations Create migrations file for all tables create seeders Create seeders for all tables create models Create models for all tables generate crud controllers Create controllers with read,updated,delete functions status Show connection status help Show this message status
Variable Status Connected connected Database Name lumen Username username Port 80 Driver mysql Host localhost
- PHP > 7.3