noahprot/fillindata

take the csv file fill into database table

v1.0.5 2018-09-06 04:53 UTC

This package is auto-updated.

Last update: 2025-07-07 02:22:48 UTC


README

take the .csv file's data fill into database table

How to use:

  1. require it: composer require noahprot/fillindata
  2. 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
    
  3. Then use php artisan fill:data {modelName};