PHPackages                             ignatenkovnikita/ya-weather - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. ignatenkovnikita/ya-weather

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

ignatenkovnikita/ya-weather
===========================

Parser Yandex Weather

16CSS

Since Dec 17Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ignatenkovnikita/parserYandexWeather)[ Packagist](https://packagist.org/packages/ignatenkovnikita/ya-weather)[ RSS](/packages/ignatenkovnikita-ya-weather/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (2)Used By (0)

YaWeather
=========

[](#yaweather)

Parser Weather from Yandex Weather

[![Latest Stable Version](https://camo.githubusercontent.com/0d139f34e5ab54f2308fbf9a5ae9c81b61bfe795949b09458517b451a034b889/68747470733a2f2f706f7365722e707567782e6f72672f69676e6174656e6b6f766e696b6974612f79612d776561746865722f762f737461626c65)](https://packagist.org/packages/ignatenkovnikita/ya-weather)[![Total Downloads](https://camo.githubusercontent.com/bb34262bcdf456f3ee99cfaafe85e8ac408604dd638c42a5742a896f28ec460a/68747470733a2f2f706f7365722e707567782e6f72672f69676e6174656e6b6f766e696b6974612f79612d776561746865722f646f776e6c6f616473)](https://packagist.org/packages/ignatenkovnikita/ya-weather)[![Latest Unstable Version](https://camo.githubusercontent.com/dafcbbb6b677f500371f613c1f9e39d4ba9c14e501ba6380cf65a92f9a27bcfe/68747470733a2f2f706f7365722e707567782e6f72672f69676e6174656e6b6f766e696b6974612f79612d776561746865722f762f756e737461626c65)](https://packagist.org/packages/ignatenkovnikita/ya-weather)[![License](https://camo.githubusercontent.com/aa43fef96bb937c1fe5e0cf76ec2f0428cdc00e8b4bd5606c44c54fa51757256/68747470733a2f2f706f7365722e707567782e6f72672f69676e6174656e6b6f766e696b6974612f79612d776561746865722f6c6963656e7365)](https://packagist.org/packages/ignatenkovnikita/ya-weather)

[![Build Status](https://camo.githubusercontent.com/13cdcf20893a7122f20fe20c6858545ccc480d0c9643ccee4ad42acf9647ba2c/68747470733a2f2f7472617669732d63692e6f72672f69676e6174656e6b6f766e696b6974612f70617273657259616e646578576561746865722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ignatenkovnikita/parserYandexWeather)[![Dependency Status](https://camo.githubusercontent.com/ec93c5b46a50269619640ab9a996513f09292c198a3d85b7744b2a5ef6b92a22/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3536373239343934313037393937303033653030303565632f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/56729494107997003e0005ec)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/118c8ef53304baf1fbb29f75bb2603f1b90e1ff0051f03dfdcce2086c69c9e8d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f69676e6174656e6b6f766e696b6974612f70617273657259616e646578576561746865722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ignatenkovnikita/parserYandexWeather/?branch=master)[![codecov.io](https://camo.githubusercontent.com/654064eb6f40966de095e0ea0e63a76079e71738c2e2035c9a7255377b01da80/68747470733a2f2f636f6465636f762e696f2f6769746875622f69676e6174656e6b6f766e696b6974612f70617273657259616e646578576561746865722f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://codecov.io/github/ignatenkovnikita/parserYandexWeather?branch=master)[![HHVM Status](https://camo.githubusercontent.com/173508c3635dc68b6b570eb20ddb1b55d01550ce064eabe505c31c88578cc776/687474703a2f2f6868766d2e683463632e64652f62616467652f69676e6174656e6b6f766e696b6974612f79612d776561746865722e737667)](http://hhvm.h4cc.de/package/ignatenkovnikita/ya-weather)[![Code Climate](https://camo.githubusercontent.com/74a887b254bd174ab318a3ffb082cc9ce04945753e9ca20cc03ed69549d7dac2/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f69676e6174656e6b6f766e696b6974612f70617273657259616e646578576561746865722f6261646765732f6770612e737667)](https://codeclimate.com/github/ignatenkovnikita/parserYandexWeather)

Installation
------------

[](#installation)

```
git clone https://github.com/ignatenkovnikita/parserYandexWeather.git
cd parserYandexWeather
composer update
OR
composer require ignatenkovnikita/ya-weather
```

After this, run **index.php** from your web browser.

Demo
----

[](#demo)

You can test program from [this page](http://dv.ignatenkovnikita.ru/parserYandexWeather/)

API
---

[](#api)

Simple usage

```
require_once($_SERVER['DOCUMENT_ROOT'] . '/parserYandexWeather/vendor/autoload.php');

use YaWeather\YaWeather;
$cityId = 27643; // List of Town https://pogoda.yandex.ru/static/cities.xml
$parser = new YaWeather($cityId);
$parser->load(); // load xml
$parser->show(); // get html as pogoda.yandex
$parser->logFormat(); // get error & success AS string

var_dump($parser->getResult()); // Get Object City with Cities
```

Testing
-------

[](#testing)

For unit testing just run command from root directory of the project:

```
vendor/bin/phpunit test\
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4436320?v=4)[Nikita Ignatenkov](/maintainers/ignatenkovnikita)[@ignatenkovnikita](https://github.com/ignatenkovnikita)

---

Top Contributors

[![ignatenkovnikita](https://avatars.githubusercontent.com/u/4436320?v=4)](https://github.com/ignatenkovnikita "ignatenkovnikita (63 commits)")

### Embed Badge

![Health badge](/badges/ignatenkovnikita-ya-weather/health.svg)

```
[![Health](https://phpackages.com/badges/ignatenkovnikita-ya-weather/health.svg)](https://phpackages.com/packages/ignatenkovnikita-ya-weather)
```

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19037.7M41](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9642.0k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

46143.1k6](/packages/jstewmc-rtf)[moonshine/layouts-field

Field for repeating groups of fields for MoonShine

107.9k](/packages/moonshine-layouts-field)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

112.9k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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