helios-live/reseedr
Easily create snapshots of tables and seed them back in
3,722
| Install | |
|---|---|
composer require helios-live/reseedr |
|
| Latest Version: | 0.0.4 |
| PHP: | ^8.3 |
| Laravel: | 9 – 13 |
| License: | MIT |
| Last Updated: | May 29, 2026 |
| Links: | GitHub · Packagist |
Maintainer: helios-live
Helios Live Reseedr
Dump tables to php for easy re-seed.
composer require helios-live/reseedr
php artisan reseedr:export-table users
php artisan reseedr:export-table terms
DatabaseSeeder.php:
// if no options are given to the call, the seeder scans the
// database/dumps/ directory for php files and uses that
// however the ordering might not be what you need
$this->call(\HeliosLive\Reseeder\Seeders\ReSeed::class);
DatabaseSeeder.php:
// if given the tables option, it will only reseed those tables, in the
// specified order
$this->call(\HeliosLive\Reseeder\Seeders\ReSeed::class,
true,
[
'tables' => ['users', 'terms'],
]);
Related Packages
xve/laravel-db-export
Laravel database export package with profile-based exclusions, anonymization, an...
2,266
0
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 0.0.4 | ^8.3 | ^9.28| | MIT | |
| 0.0.3 | ^8.3 | ^9.28| | MIT | |
| 0.0.2 | ^8.3 | ^9.28| | MIT | |
| 0.0.1 | ^8.3 | ^9.28| | MIT |