ipleiria / dbcontextseeder
Requires
- php: ^7.4|^8.0
- fakerphp/faker: ^1.24.1
- illuminate/support: ^v12.1.1
- league/csv: ^9.23
Requires (Dev)
- phpunit/phpunit: ^12.0.7
README
A powerful and flexible Laravel package for seeding realistic and structured data into your database. Supports weighted values, sequential IDs, custom SQL queries, localized fake data, and much more.
π Features
- π¦ Easy integration with Laravel seeders
- π’ Field-based seeding with custom logic
- βοΈ Weighted value selection
- π Sequential number generation
- π§ͺ Faker-powered fake data (localized)
- π§ Custom SQL-based value population
- ποΈ Supports fixed values, random numbers, dates, IBANs, and more
- π Ideal for seeding time series or analytical data
- β Fully PHPDoc documented
- π€― And much more...
π Documentation
Full documentation available here:
https://github.com/palma140/DBContextSeeder (Work in Progress)
π¦ Installation
Install via Composer:
composer require ipleiria/dbcontextseeder
π₯ Authors
- π¨βπ« Guiding Teacher β Marco Monteiro (@mmonteiro)
- π¨βπ» Developer β Γlvaro Alves (@alvaroalves10)
- π¨βπ» Developer β LuΓs Palma (@palma140)
π Academic Context
This package was developed as part of the final project for the Bachelorβs Degree in Computer Engineering at the Polytechnic Institute of Leiria, Portugal.
π€ Contributing
Contributions are welcome!
If you find a bug or want to add a new feature, feel free to open an issue or submit a pull request.
π License
This project is licensed under the GNU General Public License v3.0.
You are free to use, modify, and distribute this software under the terms of the GPL-3.0. If you distribute a modified version, it must also be licensed under the same terms and include credit to the original authors.