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.
- Host: GitHub
- URL: https://github.com/adeloyedeji/laravel-db-helper
- Owner: adeloyedeji
- License: gpl-3.0
- Created: 2019-08-05T08:17:24.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-15T10:43:02.000Z (almost 6 years ago)
- Last Synced: 2025-01-07T21:12:27.793Z (over 1 year ago)
- Topics: automation, automation-framework, laravel, laravel-framework, laravel-package, model-library, php
- Language: PHP
- Homepage:
- Size: 43 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.