tcoders / key-value-importer
Reusable Laravel import functionality
v1.0.7
2025-06-25 07:03 UTC
Requires
- php: ^7.2
- illuminate/support: ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0
README
This package will import sheet having structure
col1 col2 col3
val1 val2 val3
to a {target}.php file in given format
val1 => [ 'k1' => val2, 'k2' => val3 ]
and will cache it. Also, cache, and save dir can be configured from config files.
Adjust these value as per your need in ImportController.