Skip to content

This package helps you setting models from your database connection.

License

Notifications You must be signed in to change notification settings

Kaue-Romero/auto-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

example

version laravel

MySQL AutoDB

An automatic migrations and models generator for MySQL database

The AutoDB is a tool that generates a database model from a given connection in .env file. The tool is designed to be used in the context of huges amount of data when migrating for Laravel or automatize a repetitive task. The project takes the dataset from the database and generates the migrations and models with the attributes and cast the fields in models for each column. The code uses Levenshtein Algorithm to translate MySQL types to Eloquent types.

Installation

composer require leivingson/autodb

Usage

php artisan autodb:generate

Database Supports

mysql

About

This package helps you setting models from your database connection.

Resources

License

Stars

Watchers

Forks

Packages

No packages published