Provides the ability to import data (raw sql or CSV) from a file or from files found in the supplied folder.
This package has been developed by H&H|Digital, an Australian botique developer. Visit us at hnh.digital.
- PHP >= 7.2
- Laravel >= 5.8
Via composer:
composer require hnhdigital-os/laravel-database-seeder ~1.0
# php artisan db:seed-from-csv {path?} {--connection}
- {path} -A file or a directory of files to import.
- {--connection} - Set the connection that will be used when importing. Defaults to 'database.default'.
# php artisan db:seed-from-sql {path?} {--connection}
- {path} - A file or a directory of files to import.
- {--connection} - Set the connection that will be used when importing. Defaults to 'database.default'.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.