mohammadfahadrao/mfr-tokens
最新稳定版本:v1.0.6
Composer 安装命令:
composer require mohammadfahadrao/mfr-tokens
包简介
Package to generate tables based upon response from API or by supplying key value pair manually.
README 文档
README
Package to Create Migration File and Database Table from anywhere by supplying key value pairs. Saves time from running migration command and specifying columns in migration file for tables with loads of columns.
Installation
To deploy this package run
composer require mohammadfahadrao/mfr-tokens
In your Controller/Trait or anywhere in Laravel Project use it:
use Mohammadfahadrao\MfrTokens\MfrToken;
$mfr = new MfrToken();
$mfr->generateMigration(["name"=>'mfr',"age"=>21, ["categories"=>["name"=>"xyz","type"=>1]]]);
This'll create a new Migration file with those columns with prefix mfr_tokens. After making desired changes just migrate it
php artisan migrate
Additional improvements are being done. Till then Enjoy!
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2024-05-09