iwanski / csvconverter
Csv to array conversion library combined with fields validation
1.0
2022-04-28 00:33 UTC
Requires
- rakit/validation: ^1.4
Requires (Dev)
- phpunit/phpunit: ^9.5
This package is not auto-updated.
Last update: 2024-05-10 08:03:51 UTC
README
$converter = new Converter( [ //'column_name' => 'validation_rules', 'name' => 'required', 'email' => 'required|email', ] ); $converter->setSeparator(','); $converter->readData($file_path); $converter->getData();
Library is based on the rakit/validation library.
Information on the validation rules can be found here