Download the PHP package swalbrun/filament-regex-import without Composer
On this page you can find all versions of the php package swalbrun/filament-regex-import. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download swalbrun/filament-regex-import
More information about swalbrun/filament-regex-import
Files in swalbrun/filament-regex-import
Package filament-regex-import
Short Description This Filament Plugin will enable you to import files to upsert models by matching columns via regex.
License MIT
Homepage https://github.com/swalbrun/filament-regex-import
Informations about the package filament-regex-import
Filament Plugin for importing CSV and XLS files via regex
This Filament Plugin will enable you to import files to upsert models by matching columns via regex.
Installation
You can install the package via composer:
Create a mapper using the make command
You can publish the config file with:
This is the contents of the published config file:
You can publish the translation file with:
Features
Matching header columns with configured regex
Matches given mappers' regex with model columns
Username | |
---|---|
Sebastian | [email protected] |
John | [email protected] |
Detecting overlapping regexes
Fails in case two regexes are matching the same column.
Upserting models via unique keys
Creates or updates models taking care of the given unique columns
Relating models
Call hooks for relating found models. The hooks will get called in case all hooks arguments models have been found
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.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-regex-import with dependencies
filament/filament Version ^2.17
illuminate/contracts Version ^9.0|^10.0
maatwebsite/excel Version ^3.1
spatie/laravel-package-tools Version ^1.13.5