elph-studio/laravel-database-tools
最新稳定版本:v0.1.6
Composer 安装命令:
composer require elph-studio/laravel-database-tools
包简介
Extended Laravel Database configuration
README 文档
README
Elephant Studio :: Laravel database tools
- Faker - Renamed standard Laravel Factory. Factory pattern should be used to create Entities and Models, not fake data.
- Migration - Extended Laravel Migration disallowing
down()to reduce production risks. - Model
- Model - Extended Laravel Model with changes list allowing to get all Model changes even after saving.
- ModelTrait - Extended Laravel Model Trait for pre-built models
- Repository - Standard practice is to use Repositories instead of direct Model Query building in Controllers or Services. Repository holds
save()anddelete()methods as default, it also attached changes list toModelon everysave(). - Seeder
- Seeder - Extended Laravel Seeder with added
getDependencies()method allowing to order Seeders. - SeedersRunner - Application
DatabaseSeedershould extend this class to enable extended Seeders logic.
- Seeder - Extended Laravel Seeder with added
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-13