A simple light weight plugin to help developers quickly scaffold laravel models for an already existing database.
This project is in its, created on 02-08-2019. Improvements and suggestions are highly welcomed.
This plugin is highly been developed and updated. As long as there's Laravel there will be laravel-db-helper.
- Support for automatic setup with MySQL
- Support for protected property $tableName
- Support to export files to specified directory
- Support for one to many relationship
- Support for many to many relationship
- Support for multiple database systems
- Clone a copy of this repository
- Edit the index.php file to reflect your database connection parameters
- Run the index.php file on CLI and you should have a models folder in your current directory containing all the models in Laravel format naming which you (currently) can copy to your application. Support to specify a destination will be added soon enough.