定制 elph-studio/laravel-database-tools 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

elph-studio/laravel-database-tools

最新稳定版本:v0.1.6

Composer 安装命令:

composer require elph-studio/laravel-database-tools

包简介

Extended Laravel Database configuration

README 文档

README

Elephant Studio

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() and delete() methods as default, it also attached changes list to Model on every save().
  • Seeder
    • Seeder - Extended Laravel Seeder with added getDependencies() method allowing to order Seeders.
    • SeedersRunner - Application DatabaseSeeder should extend this class to enable extended Seeders logic.

统计信息

  • 总下载量: 16
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-12-13