kissifrot/apai-io-bundle
Composer 安装命令:
composer require kissifrot/apai-io-bundle
包简介
Amazon Product Advertising PHP Library Symfony Bundle
README 文档
README
Symfony integration of the ApaiIO-library.
Installation
Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
$ composer require exeu/apai-io-bundle dev-master
Applications that don't use Symfony Flex
All you have to do is to add the following lines to your composer.json:
{ "require": { "exeu/apai-io-bundle": "dev-master" } }
After you've done this tell composer to update your vendors:
$ php composer.phar update exeu/apai-io-bundle
Finally register the new Bundle with your application:
<?php // in AppKernel::registerBundles() $bundles = array( // ... new Exeu\ApaiIOBundle\ExeuApaiIOBundle(), // ... );
Minimal configuration
To get this bundle working you have to add the following to your config.yml
# app/config/config.yml exeu_apai_io: accesskey: YOUR ACCESSKEY secretkey: YOUR SECRETKEY associatetag: YOUR ASSOCIATE TAG country: COUNTRY (eg. de, com)
Optional configuration
If you want to change the ResponseTransformer you can do this by adding it to your config file:
# app/config/config.yml exeu_apai_io: response: \ApaiIO\ResponseTransformer\XmlToArray
Usage
To work with ApaiIO you need to get the new service for example in your controller:
<?php $apaiIo = $this->get('apaiio');
Now you can execute your first searchrequest:
<?php // ... $search = new \ApaiIO\Operations\Search(); $search->setCategory('DVD'); $search->setActor('Bruce Willis'); $search->setKeywords('Die Hard'); $formattedResponse = $apaiIo->runOperation($search); var_dump($formattedResponse);
For more detailed information See: ApaiIO - Examples
Documentation of ApaiIO: ApaiIO - Documentation
kissifrot/apai-io-bundle 适用场景与选型建议
kissifrot/apai-io-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 72 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 06 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「symfony」 「rest」 「products」 「amazon」 「soap」 「bundle」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 kissifrot/apai-io-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 kissifrot/apai-io-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 kissifrot/apai-io-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
The bundle for easy using json-rpc api on your project
A PSR-7 compatible library for making CRUD API endpoints
Submodule for SilverShop which allows you to compare products in a table.
Api bundle
Product catalog for your Symfony2 applications.
Auto generate related products for Magento 2
统计信息
- 总下载量: 72
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 10
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2018-06-03