sokolnikov911/yandex-xml
最新稳定版本:1.0.2
Composer 安装命令:
composer require sokolnikov911/yandex-xml
包简介
PHP Yandex.XML search API client
README 文档
README
| Travis CI | |
| Scrutinizer CI |
Russian version of README you can find here: README_RU.md.
PHP Yandex.XML search API client
Examples
$yandexXmlUser = 'xmluser'; $yandexXmlKey = '12.12344:123443543534'; $client = new Client($yandexXmlUser, $yandexXmlKey); $result = $client ->query('search query') ->page(2) ->l10n(Client::L10N_UKRAINIAN) ->get();
Installing
Install composer. Follow instructions on download page: https://getcomposer.org/download/
Next, run the Composer command to install the latest stable version of yandex-xml
php composer.phar require sokolnikov911/yandex-xml
After installing, you need to require Composer's autoloader:
require 'vendor/autoload.php';
You can then later update yandex-xml using composer:
composer.phar update
Requirements
This client requires at least PHP7.3 (yeahh, type hinting!) and Guzzle 7.
License
This library has licensed under the MIT License.
统计信息
- 总下载量: 1.42k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-10-26