Import and save contents of files form local or remote storage
You can install the package via composer:
composer require 64robots/content-import
Publish Migrations and default configurations.
php artisan vendor:publish --provider="R64\ContentImport\ContentImportServiceProvider"
This package exposes 2 commands
Import files from a disk
php artisan files:import
Read and save contents imported files
php artisan files:process
- csv
- directory
parent directory where files to be imported are stored. defaults to imports
- chunck_size
defines how large contents of your file should be chucked into. defaults to 1000
- heading_row:
a heading row for your files (a row in which each cells indicates the purpose of that column)
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.