An open API service indexing awesome lists of open source software.

https://github.com/adeloyedeji/laravel-db-helper

A light-weight laravel plugin to auto generate database models from already existing database.
https://github.com/adeloyedeji/laravel-db-helper

automation automation-framework laravel laravel-framework laravel-package model-library php

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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
- [x] 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
1. Edit the index.php file to reflect your database connection parameters
1. 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.