php-etl / prestashop-plugin
Prestashop 提取和加载插件
dev-main / 0.1.x-dev
2023-08-24 09:15 UTC
Requires
- php: ^8.2
- nikic/php-parser: ^4.10
- php-etl/configurator-contracts: 0.8.*
- php-etl/prestashop-api-client: 0.1.*
- php-etl/satellite-toolbox: 0.5.*
- symfony/config: ^6.0
Requires (Dev)
- php-etl/phpunit-extension: 0.5.*
- rector/rector: ^0.15
This package is auto-updated.
Last update: 2024-09-24 12:03:04 UTC
README
该 Prestashop 插件旨在将 Prestashop API 连接到 ETL 管道。
在线阅读 完整且最新的文档。
安装
composer require php-etl/prestashop-plugin
快速开始
构建提取器
prestashop: client: url: 'https://prestashop.example.com' api_key: 'abc1234' extractor: type: 'products' method: 'all' options: columns: - 'id' - 'product_type' - 'price' filter: id: '[1,10]' sorters: id: ASC id_shop: 1 id_group_shop: 1 languages: from: 1 to: 3 price: my_price: product_attribute: 25
构建加载器
prestashop: client: url: 'https://prestashop.example.com' api_key: 'abc1234' loader: type: 'products' method: 'create' options: id_shop: 1 id_group_shop: 1
阅读 在线文档 获取更多详细信息。