javaabu / imports
Streamline excel data import to your application
Requires
- php: ^8.1
- illuminate/support: ^9.0 || ^10.0 || ^11.0
- javaabu/forms: ^1.13
- maatwebsite/excel: ^3.1
Requires (Dev)
- laravel/pint: ^1.14
- orchestra/testbench: ^7.0 || ^8.0 || ^9.0
- phpunit/phpunit: ^9.5 || ^10.5
README
Introduction
Streamline excel data import to your application
Documentation
You'll find the documentation on https://docs.javaabu.com/docs/imports.
Find yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improving this package? Feel free to create an issue on GitHub, we'll try to address it as soon as possible.
If you've found a bug regarding security please mail info@javaabu.com instead of using the issue tracker.
Usage
Install the package via composer:
composer require javaabu/imports
Create your controller and use the ImportsData
trait
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use Javaabu\Imports\Traits\ImportsData; class ImportsController extends Controller { use ImportsData; }
Register your routes
Route::get('import', [ImportsController::class, 'index'])->name('imports.index'); Route::post('import', [ImportsController::class, 'store'])->name('imports.store');
For more customization you can override the methods in ImportsData
trait.
Testing
You can run the tests with
./vendor/bin/phpunit
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 info@javaabu.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.