Package Data | |
---|---|
Maintainer Username: | leomarquine |
Maintainer Contact: | leonardomarquine@gmail.com (Leonardo Marquine) |
Package Create Date: | 2016-06-27 |
Package Last Update: | 2022-10-16 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-17 03:02:35 |
Package Statistics | |
---|---|
Total Downloads: | 128,506 |
Monthly Downloads: | 1,004 |
Daily Downloads: | 40 |
Total Stars: | 182 |
Total Watchers: | 10 |
Total Forks: | 82 |
Total Open Issues: | 12 |
Extract, Transform and Load data using PHP.
In your application's folder, run:
composer require marquine/php-etl
Documentation can be found here.
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:
use Marquine\Etl\Etl;
$etl = new Etl;
$etl->extract('csv', '/path/to/users.csv')
->transform('trim', ['columns' => ['name', 'email']])
->load('insert', 'users')
->run();
PHP ETL is licensed under the MIT license.