PHPackages                             sokolnikov911/yandex-schedule - 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. sokolnikov911/yandex-schedule

ActiveLibrary

sokolnikov911/yandex-schedule
=============================

PHP Yandex Schedule (rasp) API client

v3.1.1(4y ago)3511MITPHPPHP &gt;=7.0

Since Nov 27Pushed 4y ago1 watchersCompare

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

READMEChangelog (7)Dependencies (2)Versions (9)Used By (0)

PHP Yandex Schedule (rasp) API client
=====================================

[](#php-yandex-schedule-rasp-api-client)

[![Latest Stable Version](https://camo.githubusercontent.com/645a6ab7e8d02b9f50374b31d4a2808e809412c90d6e10266e24a33df91b40f5/68747470733a2f2f706f7365722e707567782e6f72672f736f6b6f6c6e696b6f763931312f79616e6465782d7363686564756c652f762f737461626c65)](https://packagist.org/packages/sokolnikov911/yandex-schedule)[![Total Downloads](https://camo.githubusercontent.com/9d069e43133a1578211584c63b1436e1f810cdaeb192af46b86033585718bffb/68747470733a2f2f706f7365722e707567782e6f72672f736f6b6f6c6e696b6f763931312f79616e6465782d7363686564756c652f646f776e6c6f616473)](https://packagist.org/packages/sokolnikov911/yandex-schedule)[![Latest Unstable Version](https://camo.githubusercontent.com/e53089b49c62836ce1371f4949e5f203ae8695bc310a268dd969f3ec80b88b9d/68747470733a2f2f706f7365722e707567782e6f72672f736f6b6f6c6e696b6f763931312f79616e6465782d7363686564756c652f762f756e737461626c65)](https://packagist.org/packages/sokolnikov911/yandex-schedule)[![License](https://camo.githubusercontent.com/b6bff54d569719065cadb51c8672e9eb441a22e7ada4779400e854a999446d70/68747470733a2f2f706f7365722e707567782e6f72672f736f6b6f6c6e696b6f763931312f79616e6465782d7363686564756c652f6c6963656e7365)](https://packagist.org/packages/sokolnikov911/yandex-schedule)[![composer.lock](https://camo.githubusercontent.com/734e50b6b29fe31e9a0916d02040d2ab2ff6c2d8d7f0793beaad14cec7bcb037/68747470733a2f2f706f7365722e707567782e6f72672f736f6b6f6c6e696b6f763931312f79616e6465782d7363686564756c652f636f6d706f7365726c6f636b)](https://packagist.org/packages/sokolnikov911/yandex-schedule)

Russian version of README you can find here: [README\_RU.md](https://github.com/sokolnikov911/yandex-schedule/blob/master/README_RU.md).

Yandex Schedule (rasp) API client.

Examples
--------

[](#examples)

**Retrieving schedule between two stations (for example: New Your airport and Moscow Sheremetyevo)**

```
$client = new Client('yourApiKeyHere');

echo $client->getScheduleBetweenStations('NYC', 'SVO',
    Client::TRANSPORT_TYPE_PLANE, Client::SYSTEM_IATA);
```

**Retrieving schedule by station (for example: Kyiv-Passazhyrsky railway station)**

```
echo $client->getScheduleOnStation('2200001', Client::TRANSPORT_TYPE_TRAIN, Client::SYSTEM_EXPRESS);
```

**Retrieving stations list for selected route (for example: train Berdyansk - Kiev)**

```
echo $client->getListStationsRoute('228P_1_2');
```

**Retrieving carrier information (for example: Turkish Airlines)**

```
echo $client->getCarrier('TK', Client::SYSTEM_IATA);
```

**Retrieving nearest stations**

```
echo $client->getNearestStations('50.440046', '40.4882367', '40');
```

**Retrieving yandex copyright block**

```
echo $client->getCopyright();
```

**Switching between data formats (XML and JSON available) and language versions (russian, ukrainian, turkish)**

By default using JSON format and russian language.

```
$client->setDataFormat(Client::DATA_FORMAT_XML);
$client->setLanguage(Client::DATA_LANG_UK);
```

Installing
----------

[](#installing)

```
# Install Composer
curl -sS https://getcomposer.org/installer | php
```

Next, run the Composer command to install the latest stable version of **yandex-schedule**

```
php composer.phar require sokolnikov911/yandex-schedule
```

After installing, you need to require Composer's autoloader:

```
require 'vendor/autoload.php';
```

You can then later update **yandex-schedule** using composer:

```
composer.phar update
```

Requirements
------------

[](#requirements)

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

License
-------

[](#license)

This library is licensed under the MIT License.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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 ~184 days

Recently: every ~233 days

Total

8

Last Release

1795d ago

Major Versions

v0.9.4 → v1.0.02017-12-23

v1.0.5 → v3.02021-06-12

### 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 (22 commits)")

---

Tags

phpphp7scheduletimetableyandexyandex-raspyandex-raspisaniescheduleyandexraspraspisanie

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[alexusmai/yandex-metrika

Laravel - Yandex Metrika

4436.7k](/packages/alexusmai-yandex-metrika)[axp-dev/ya-metrika

Yandex Metrika API Library

3617.1k1](/packages/axp-dev-ya-metrika)[hywax/ya-metrika

Yandex Metrika API Library

368.2k](/packages/hywax-ya-metrika)[panlatent/schedule

Schedule plugin for CraftCMS

1034.1k](/packages/panlatent-schedule)

PHPackages © 2026

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