php-etl:使用PHP提取,转换和加载数据

时间:2021-05-04 20:52:41
【文件属性】:
文件名称:php-etl:使用PHP提取,转换和加载数据
文件大小:32KB
文件格式:ZIP
更新时间:2021-05-04 20:52:41
hacktoberfest PHP PHP ETL 使用PHP提取,转换和加载数据。 安装 在应用程序的文件夹中,运行: composer require marquine/php-etl 文献资料 文档可以在找到。 例子 在下面的示例中,我们将从csv文件中提取数据,从名称和电子邮件列中修剪空白,然后将值插入到用户表中: 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已根据获得。
【文件预览】:
php-etl-master
----src()
--------Transformers()
--------bindings.php(2KB)
--------Pipeline.php(4KB)
--------EtlServiceProvider.php(644B)
--------Database()
--------Etl.php(3KB)
--------Row.php(3KB)
--------Loaders()
--------Extractors()
--------Container.php(1KB)
--------Step.php(896B)
----LICENSE.md(1KB)
----.gitbook.yaml(73B)
----composer.json(942B)
----README.md(1KB)

网友评论