LaravelPackages.net
Acme Inc.
Toggle sidebar
marquine/php-etl

Extract, Transform and Load data using PHP.

138.755
182
v2.3.1
About marquine/php-etl

marquine/php-etl is a Laravel package for extract, transform and load data using php.. It currently has 182 GitHub stars and 138.755 downloads on Packagist (latest version v2.3.1). Install it with composer require marquine/php-etl. Discover more Laravel packages by marquine or browse all Laravel packages to compare alternatives.

Last updated

PHP ETL

Build Status Latest Stable Version Latest Unstable Version License

Extract, Transform and Load data using PHP.

Installation

In your application's folder, run:

composer require marquine/php-etl

Documentation

Documentation can be found here.

Example

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();

License

PHP ETL is licensed under the MIT license.

Comments