PHPackages                             sokolnikov911/yandex-xml - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. sokolnikov911/yandex-xml

ActiveLibrary[API Development](/categories/api)

sokolnikov911/yandex-xml
========================

PHP Yandex.XML search API client

1.0.2(4y ago)21.6kMITPHPPHP &gt;=7.3

Since Oct 26Pushed 4y ago1 watchersCompare

[ Source](https://github.com/sokolnikov911/yandex-xml)[ Packagist](https://packagist.org/packages/sokolnikov911/yandex-xml)[ Docs](https://github.com/sokolnikov911/yandex-xml)[ RSS](/packages/sokolnikov911-yandex-xml/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

PHP Yandex.XML search API client
================================

[](#php-yandexxml-search-api-client)

[![Latest Stable Version](https://camo.githubusercontent.com/b2c8e516d22110c0b5c601acc303be16a4e91ac7e596098fac7c1e57e47ca9f1/68747470733a2f2f706f7365722e707567782e6f72672f736f6b6f6c6e696b6f763931312f79616e6465782d786d6c2f762f737461626c65)](https://packagist.org/packages/sokolnikov911/yandex-xml) [![Total Downloads](https://camo.githubusercontent.com/6151e6e75d87326ca7fb60744d5a5f83b0e666a553eebce282834d16e4f9ad07/68747470733a2f2f706f7365722e707567782e6f72672f736f6b6f6c6e696b6f763931312f79616e6465782d786d6c2f646f776e6c6f616473)](https://packagist.org/packages/sokolnikov911/yandex-xml) [![Latest Unstable Version](https://camo.githubusercontent.com/4eee73f16181881776f361d91b892abe8f3306cca19a41b17306356d76204669/68747470733a2f2f706f7365722e707567782e6f72672f736f6b6f6c6e696b6f763931312f79616e6465782d786d6c2f762f756e737461626c65)](https://packagist.org/packages/sokolnikov911/yandex-xml) [![composer.lock](https://camo.githubusercontent.com/d6bf9765c6d25909423aa3803e20190da74ef45615967c15af608cb8adc1861e/68747470733a2f2f706f7365722e707567782e6f72672f736f6b6f6c6e696b6f763931312f79616e6465782d786d6c2f636f6d706f7365726c6f636b)](https://packagist.org/packages/sokolnikov911/yandex-xml) [![PHPPackages Rank](https://camo.githubusercontent.com/d315ddcba1c0bd84560e1f132d7dcc902cf025bd8169ee582e6341505f5e773b/687474703a2f2f7068707061636b616765732e6f72672f702f736f6b6f6c6e696b6f763931312f79616e6465782d786d6c2f62616467652f72616e6b2e737667)](http://phppackages.org/p/sokolnikov911/yandex-xml) [![PHPPackages Referenced By](https://camo.githubusercontent.com/5343b1d1e2eba357758e3aa1a8f772848b35982cd51d68185dadc0bd35bffd68/687474703a2f2f7068707061636b616765732e6f72672f702f736f6b6f6c6e696b6f763931312f79616e6465782d786d6c2f62616467652f7265666572656e6365642d62792e737667)](http://phppackages.org/p/sokolnikov911/yandex-xml)Travis CI[![Build Status](https://camo.githubusercontent.com/31f58a417040bf6be0ca7d05a68a4d9211635e24ec5ec164168e5cf2bb88d9a2/68747470733a2f2f7472617669732d63692e6f72672f736f6b6f6c6e696b6f763931312f79616e6465782d786d6c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sokolnikov911/yandex-xml)Scrutinizer CI[![Build Status](https://camo.githubusercontent.com/b7f0671850099f8d73d1fd8de736cbdd98632840b58028e8d43fcb7ba95dc8c0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736f6b6f6c6e696b6f763931312f79616e6465782d786d6c2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sokolnikov911/yandex-xml/build-status/master) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/10488891e5ce65dc2b2a48c4b283438582a4e1e3fcb1b41fb1ba82016cfd62f3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736f6b6f6c6e696b6f763931312f79616e6465782d786d6c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sokolnikov911/yandex-xml/?branch=master) [![Code Coverage](https://camo.githubusercontent.com/4223c4e616c82ff7ded15098cd07b1a57ff63e4372c6dd70c8d644142dfb2e7d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736f6b6f6c6e696b6f763931312f79616e6465782d786d6c2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sokolnikov911/yandex-xml/?branch=master)Russian version of README you can find here: [README\_RU.md](https://github.com/sokolnikov911/yandex-xml/blob/master/README_RU.md).

PHP Yandex.XML search API client

Examples
--------

[](#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
----------

[](#installing)

Install composer. Follow instructions on download page:

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
------------

[](#requirements)

This client requires at least PHP7.3 (yeahh, type hinting!) and [Guzzle](https://github.com/guzzle/guzzle) 7.

License
-------

[](#license)

This library has licensed under the MIT License.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~275 days

Total

3

Last Release

1473d ago

Major Versions

0.0.2 → 1.0.22022-04-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/97a1cefec9fcbf213bb9a2db1f26e21b6ccb750984727256dd9833c5b27f25ae?d=identicon)[sokolnikov911](/maintainers/sokolnikov911)

---

Top Contributors

[![sokolnikov911](https://avatars.githubusercontent.com/u/11427142?v=4)](https://github.com/sokolnikov911 "sokolnikov911 (10 commits)")

---

Tags

apisearchxmlyandexsearchxmlyandex

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sokolnikov911-yandex-xml/health.svg)

```
[![Health](https://phpackages.com/badges/sokolnikov911-yandex-xml/health.svg)](https://phpackages.com/packages/sokolnikov911-yandex-xml)
```

###  Alternatives

[aerni/laravel-spotify

A Laravel wrapper for the Spotify Web API

209145.6k](/packages/aerni-laravel-spotify)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69114.3k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
