noahprot / fillindata
take the csv file fill into database table
v1.0.5
2018-09-06 04:53 UTC
README
take the .csv file's data fill into database table
How to use:
- require it:
composer require noahprot/fillindata
- you must have the
/resources/csv/{tableName}.csv
File.name,description,quantity Beverages,consumption,2 Cakes,baked,3 Baked,baking,4 Cookies,Cookies cakes,5 Canned,Canning,6
- Then use
php artisan fill:data {modelName}
;