smousss / laravel-migratize
使用 GPT-4 生成缺失的迁移文件。
0.1.2
2023-04-20 09:41 UTC
Requires
- php: ^8.1
- illuminate/contracts: ^9.0|^10.0
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
README
再次享受迁移的便利
无论您使用的是 MariaDB、MySQL、Oracle、PostgreSQL、SQLite、SQL server 还是其他任何数据库,Smousss 都会利用 GPT-4 的力量,根据您当前数据库中的内容生成缺失的迁移文件。
安装
使用 Composer 安装包
composer require smousss/laravel-migratize
发布配置文件
php artisan vendor:publish --tag=migratize-config
使用方法
首先,在 smousss.com 上生成一个密钥。
然后,生成您的迁移文件
php artisan smousss:migratize
致谢
Migratize for Laravel 由 Benjamin Crozat 为 Smousss (Twitter) 开发。