Download the PHP package mellojoaoaus/filament-import without Composer
On this page you can find all versions of the php package mellojoaoaus/filament-import. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package filament-import
Filament Plugin for Import CSV and XLS into Database
This package will make it easier for you to import from files to your model, very easily without the need to do templates.
all you have to do is drag and drop and match the fields and columns of your file, and let magic happens!
Installation
You can install the package via composer:
Publishing Config
If you want to do the settings manually, please publish the existing config.
Usage
import the actions into ListRecords
page
Required Field
Disable Mass Create
if you still want to stick with the event model you might need this and turn off mass create
Filter Out Blank Rows
If you have a spreadsheet which includes blank data click here to see more, you can filter these out:
Field Data Mutation
you can also manipulate data from row spreadsheet before saving to model
otherwise you can manipulate data and getting all mutated data from field before its getting insert into the database.
it is also possible to manipulate data after it was inserted into the database
Grid Column
Of course, you can divide the column grid into several parts to beautify the appearance of the data map
Json Format Field
We also support the json format field, which you can set when calling the make
function and separate the name with a dot annotation
Static Field Data
for the static field data you can use the common fields from filament
Unique field
if your model should be unique, you can pass the name of the field, which will be used to check if a row already exists in the database. if it exists, skip that row (preventing an error about non unique row)
Validation
you can make the validation for import fields, for more information about the available validation please check laravel documentation
Create Record
you can overide the default record creation closure and put your own code by using handleRecordCreation
function
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
All versions of filament-import with dependencies
filament/filament Version ^3
filament/notifications Version ^3.0
illuminate/contracts Version ^10
illuminate/support Version ^10.0
livewire/livewire Version ^3
maatwebsite/excel Version ^3.1.48
psr/simple-cache Version ^2.0|^3.0
spatie/laravel-package-tools Version ^1.16