Looking to hire Laravel developers? Try LaraJobs

laravel-database-tools maintained by elph-studio

Description
Extended Laravel Database configuration
Last update
2025/12/15 14:41 (dev-master)
License
Links
Downloads
16

Comments
comments powered by Disqus

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.