leivingson/autodb
最新稳定版本:1.0.0
Composer 安装命令:
composer require leivingson/autodb
包简介
This package helps you creating models from your database connection in laravel.
README 文档
README
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
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-03-28