Requirements
- PHP 8.2 or higher
- Composer
Required PHP extensions
The following extensions must be enabled in your PHP installation:
These extensions ship with most PHP distributions and are typically enabled by default.
Install
1
Require the package
Add FiQueLa to your project with Composer:
2
Verify the installation
Confirm the package is present in your
vendor/ directory and that autoloading is configured:3
Include the autoloader
Require Composer’s autoloader at the entry point of your script or application:
Optional format dependencies
Several formats require additional Composer packages. Install only the ones you need:As of FiQueLa 3.0, CSV is read and written with native PHP
fgetcsv / fputcsv — the previous league/csv dependency has been dropped. halaxa/json-machine, symfony/yaml, nette/neon, and openspout/openspout are bundled as required dependencies in composer.json, so they are installed automatically with composer require 1biot/fiquela. The table above reflects which package enables which format.Optional dev dependency
For debugging and benchmarking queries during development, installtracy/tracy:
Query\Debugger helper, which provides inspectQuery, inspectSql, benchmarkQuery, and explain output.