Skip to content

A light-weight laravel plugin to auto generate database models from already existing database.

License

Notifications You must be signed in to change notification settings

adeloyedeji/laravel-db-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laravel-db-helper

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.

Project Pipe lines

  • 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

Setup

  1. Clone a copy of this repository
  2. Edit the index.php file to reflect your database connection parameters
  3. 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.

About

A light-weight laravel plugin to auto generate database models from already existing database.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published