Download the PHP package wizaplace/php-etl without Composer
On this page you can find all versions of the php package wizaplace/php-etl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wizaplace/php-etl
More information about wizaplace/php-etl
Files in wizaplace/php-etl
Package php-etl
Short Description Extract, Transform and Load data using this PHP written migration library.
License MIT
Informations about the package php-etl
Wizaplace PHP ETL (WP-ETL)
Extract, Transform and Load data using PHP. This library provides classes and a workflow to allow you to extract data from various sources (CSV, DB...), one or many, then transform them before saving them in another format.
You can also easily add your custom classes (Extractors, Transformers and Loaders).
Versions and compatibility
- To benefit from the latest features and if you use PHP 8.1 and above: use the 2.3 version (and above) of the library.
- If you use older versions of PHP: 7.4 or 8.0, use the 2.2 version of the library.
- If you use older versions of PHP: 7.2 <= PHP <= 7.4, use the legacy 1.3.x version.
Changelog
See the changelog here
Installation
In your application's folder, run:
Example :light_rail:
In the example below, we will extract data from a csv file, trim white spaces from the name and email columns and then insert the values into the users table:
The library is fully compatible with any PHP project. For instance, with Symfony, you can fully benefit from the autowiring. On the following example, you enable it on the main ETL object, with the shared parameter to false in order to have the possibility to get different instance of the ETL (optional).
services.yaml
Documentation :notebook:
The documentation is available in a subfolder of the repo, here.
License
WP-ETL is licensed under the MIT license.
Origin of the project
This project is a fork and an improvement of the marquine/php-etl project by Leonardo Marquine.