Laravel Content Importer
Import and save contents of files form local or remote storage
Installation
You can install the package via composer:
composer require 64robots/content-import
Usage
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
Supported File formats
- csv
Available Configs
- 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)
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email agyenim@64robots.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.