Download the PHP package ttskch/bulkony without Composer
On this page you can find all versions of the php package ttskch/bulkony. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ttskch/bulkony
More information about ttskch/bulkony
Files in ttskch/bulkony
Download ttskch/bulkony
More information about ttskch/bulkony
Files in ttskch/bulkony
Vendor ttskch
Package bulkony
Short Description Easy and flexible CSV exports and imports in PHP ⚡
License MIT
Package bulkony
Short Description Easy and flexible CSV exports and imports in PHP ⚡
License MIT
Please rate this library. Is it a good library?
Informations about the package bulkony
bulkony
Easy and flexible CSV exports and imports in PHP ⚡
TOC
* [Features](#features)
* [Requirements](#requirements)
* [Installation](#installation)
* [Usage](#usage)
* [Export](#export)
* [Export to file](#export-to-file)
* [Send HTTP response in WAF way](#send-http-response-in-waf-way)
* [Symfony](#symfony)
* [Laravel](#laravel)
* [CakePHP](#cakephp)
* [Import](#import)
* [With validation](#with-validation)
* [With previewing feature](#with-previewing-feature)
* [Getting involved](#getting-involved)
Features
- Multibyte support
- MS Excel friendly (exports as UTF-8 CSV with BOM)
- Memory efficient (unless you import non UTF-8 CSV)
- Easy to validate row by row
- Easy to implement preview feature, that shows which cell will be changed after importing
Requirements
- PHP >= 7.4
- ext-mbstring
Installation
Usage
Export
Export to file
Send HTTP response in WAF way
Symfony
Laravel
CakePHP
Import
With validation
In this example, you may find that $this->hydrate($csvRow)
is called twice in validate()
and import()
. Sometimes this is not good.
If cost of hydrating object from csv row is very high, you can pass the hydrated object through Context
like below.
With previewing feature
Of course you can implement previewing feature with validation.
In this example, if App\UserRowVisitor
implements ValidatableRowVisitorInterface
, $preview
holds whole validation errors automatically.
Getting involved
All versions of bulkony with dependencies
PHP Build Version
Package Version
The package ttskch/bulkony contains the following files
Loading the files please wait ....