sokolnikov911/yandex-xml 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sokolnikov911/yandex-xml

最新稳定版本:1.0.2

Composer 安装命令:

composer require sokolnikov911/yandex-xml

包简介

PHP Yandex.XML search API client

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version composer.lock PHPPackages Rank PHPPackages Referenced By
Travis CI Build Status
Scrutinizer CI Build Status Scrutinizer Code Quality Code Coverage

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-10-26