PHPackages                             pendalf/laravel-yandex-geocode - 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. pendalf/laravel-yandex-geocode

ActiveLibrary[API Development](/categories/api)

pendalf/laravel-yandex-geocode
==============================

Simply service laravel Yandex Geocoding

1.3(7y ago)010MITPHPPHP &gt;=7.0.0

Since Nov 16Pushed 7y ago1 watchersCompare

[ Source](https://github.com/pendalf/laravel-yandex-geocoding)[ Packagist](https://packagist.org/packages/pendalf/laravel-yandex-geocode)[ Docs](https://github.com/pendalf/laravel-yandex-geocoding)[ RSS](/packages/pendalf-laravel-yandex-geocode/feed)WikiDiscussions laravel Synced yesterday

READMEChangelogDependenciesVersions (13)Used By (0)

Laravel Yandex.Geocoding
========================

[](#laravel-yandexgeocoding)

Simply package laravel Yandex.Geocoding

[![Latest Stable Version](https://camo.githubusercontent.com/8d01001e8bbd487cca438a60dc79bb78ee9d0dc18f80f39694700c77c40402fa/68747470733a2f2f706f7365722e707567782e6f72672f6a61636b6d617274696e2f6c61726176656c2d79616e6465782d67656f636f64652f762f737461626c65)](https://packagist.org/packages/jackmartin/laravel-yandex-geocode) [![Total Downloads](https://camo.githubusercontent.com/fc8a9f889849769914a78ed425c1db6de7b9f32ec5e8972ef3c3255c1cc8fcf5/68747470733a2f2f706f7365722e707567782e6f72672f6a61636b6d617274696e2f6c61726176656c2d79616e6465782d67656f636f64652f646f776e6c6f616473)](https://packagist.org/packages/jackmartin/laravel-yandex-geocode) [![License](https://camo.githubusercontent.com/ab1f6d5ff8e07cf4852a4480b96daeb98b9231a8e9a250ba34c9339bbc1b8046/68747470733a2f2f706f7365722e707567782e6f72672f6a61636b6d617274696e2f6c61726176656c2d79616e6465782d67656f636f64652f6c6963656e7365)](https://packagist.org/packages/jackmartin/laravel-yandex-geocode)

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

[](#installation)

Run composer require command.

```
composer require pendalf/laravel-yandex-geocode
```

### Laravel Setting

[](#laravel-setting)

After updating composer, register the service provider in bootstrap\\app.php

```
Yandex\Geocode\YandexGeocodeServiceProvider::class
```

Add then alias YaGeo adding its facade to the aliases array in the same file:

```
'YaGeo' => Yandex\Geocode\Facades\YandexGeocodeFacade::class
```

Configuration parameters package
--------------------------------

[](#configuration-parameters-package)

Api page: [https://tech.yandex.ru/maps/doc/geocoder/desc/concepts/input\_params-docpage/](https://tech.yandex.ru/maps/doc/geocoder/desc/concepts/input_params-docpage/)

### Copy file config yandex-geocoding.php in config folder

[](#copy-file-config-yandex-geocodingphp-in-config-folder)

```
php artisan vendor:publish
```

Select Tag: yandex-geocoding-config

or

```
php artisan vendor:publish --provider="Yandex\Geocode\YandexGeocodeServiceProvider" --tag="yandex-geocoding-config"
```

#### Api key

[](#api-key)

```
'api_key' => ''
```

#### Api version

[](#api-version)

```
'api_version' => '1.x'
```

#### Language api response

[](#language-api-response)

```
'language' => 'uk_UA'
```

#### Skip object in query

[](#skip-object-in-query)

```
'skip_object' => 0
```

Usage
-----

[](#usage)

```
dd(

    \YaGeo::make()->setQuery('Ukraine, Kiev')->load()

);
```

Methods
-------

[](#methods)

1. Get raw data response
    - [getRawData()](https://github.com/martinjack/laravel-yandex-geocoding#getrawdata)
2. Get data response
    - [getData()](https://github.com/martinjack/laravel-yandex-geocoding#getdata)
3. Get name country
    - [getCountry()](https://github.com/martinjack/laravel-yandex-geocoding#getcountry)
4. Get name region
    - [getRegion()](https://github.com/martinjack/laravel-yandex-geocoding#getregion)
5. Get name district
    - [getDistrict()](https://github.com/martinjack/laravel-yandex-geocoding#getdistrict)
6. Get name locality
    - [getLocality()](https://github.com/martinjack/laravel-yandex-geocoding#getlocality)
7. Get name street
    - [getStreet()](https://github.com/martinjack/laravel-yandex-geocoding#getstreet)
8. Get house number
    - [getHouseNumber()](https://github.com/martinjack/laravel-yandex-geocoding#gethousenumber)
9. Get full raw address
    - [getRawFullAddress()](https://github.com/martinjack/laravel-yandex-geocoding#getrawfulladdress)
10. Get full address
    - [getFullAddress()](https://github.com/martinjack/laravel-yandex-geocoding#getfulladdress)
11. Get latitude
    - [getLatitude()](https://github.com/martinjack/laravel-yandex-geocoding#getlatitude)
12. Get longitude
    - [getLongitude()](https://github.com/martinjack/laravel-yandex-geocoding#getlongitude)
13. Get type
    - [getType()](https://github.com/martinjack/laravel-yandex-geocoding#gettype)

Laravel Яндекс.Геокодирование
=============================

[](#laravel-яндексгеокодирование)

Простой пакет laravel Яндекс.Геокодирование

Установка
---------

[](#установка)

Установить пакет с помощью composer

```
composer require jackmartin/laravel-yandex-geocode
```

### Laravel настройка пакета

[](#laravel-настройка-пакета)

После установки пакета с помощью composer, зарегистрируйте сервис пакета в файле bootstrap/app.php:

```
Yandex\Geocode\YandexGeocodeServiceProvider::class
```

Затем для быстрого вызов класса пакета, добавьте псевдоним в этот же файле:

```
'YaGeo' => Yandex\Geocode\Facades\YandexGeocodeFacade::class
```

Настройка параметров пакета
---------------------------

[](#настройка-параметров-пакета)

Документация: [https://tech.yandex.ru/maps/doc/geocoder/desc/concepts/input\_params-docpage/](https://tech.yandex.ru/maps/doc/geocoder/desc/concepts/input_params-docpage/)

### Копируем файл настроек yandex-geocondig.php в config папку

[](#копируем-файл-настроек-yandex-geocondigphp-в-config-папку)

```
php artisan vendor:publish
```

Выбираем Tag: yandex-geocoding-config

или

```
php artisan vendor:publish --provider="Yandex\Geocode\YandexGeocodeServiceProvider" --tag="yandex-geocoding-config"
```

#### Ключ API

[](#ключ-api)

```
'api_key' => ''
```

#### API версия

[](#api-версия)

```
'api_version' => '1.x'
```

#### Язык ответа

[](#язык-ответа)

```
'language' => 'uk_UA'
```

#### Количество пропускаемых объектов в запросе

[](#количество-пропускаемых-объектов-в-запросе)

```
'skip_object' => 0
```

Использование
-------------

[](#использование)

```
dd(

    \YaGeo::make()->setQuery('Украина, Киев')->load()

);
```

Методы
------

[](#методы)

1. Получить сырые данные ответа
    - [getRawData()](https://github.com/martinjack/laravel-yandex-geocoding#getrawdata)
2. Получить данные ответа
    - [getData()](https://github.com/martinjack/laravel-yandex-geocoding#getdata)
3. Получить имя страны
    - [getCountry()](https://github.com/martinjack/laravel-yandex-geocoding#getcountry)
4. Получить имя области
    - [getRegion()](https://github.com/martinjack/laravel-yandex-geocoding#getregion)
5. Получить имя района
    - [getDistrict()](https://github.com/martinjack/laravel-yandex-geocoding#getdistrict)
6. Получить имя населенного пункта
    - [getLocality()](https://github.com/martinjack/laravel-yandex-geocoding#getlocality)
7. Получить имя улицы
    - [getStreet()](https://github.com/martinjack/laravel-yandex-geocoding#getstreet)
8. Получить номер дома
    - [getHouseNumber()](https://github.com/martinjack/laravel-yandex-geocoding#gethousenumber)
9. Получить полный сырой адрес
    - [getRawFullAddress()](https://github.com/martinjack/laravel-yandex-geocoding#getrawfulladdress)
10. Получить полный адрес
    - [getFullAddress()](https://github.com/martinjack/laravel-yandex-geocoding#getfulladdress)
11. Получить широту
    - [getLatitude()](https://github.com/martinjack/laravel-yandex-geocoding#getlatitude)
12. Получить долготу
    - [getLongitude()](https://github.com/martinjack/laravel-yandex-geocoding#getlongitude)
13. Получить тип
    - [getType()](https://github.com/martinjack/laravel-yandex-geocoding#gettype)

Methods - Методы:
=================

[](#methods---методы)

### getRawData()

[](#getrawdata)

```
use YaGeo;

$data = YaGeo::setQuery('Kiev, Vishnevoe, Lesi Ukrainki, 57')->load();

$data = $data->getResponse()->getRawData();
```

### getData()

[](#getdata)

```
use YaGeo;

$data = YaGeo::setQuery('Kiev, Vishnevoe, Lesi Ukrainki, 57')->load();

$data = $data->getResponse()->getData();
```

### getCountry()

[](#getcountry)

```
use YaGeo;

$data = YaGeo::setQuery('Kiev, Vishnevoe, Lesi Ukrainki, 57')->load();

$data = $data->getResponse()->getCountry();
```

### getRegion()

[](#getregion)

```
use YaGeo;

$data = YaGeo::setQuery('Kiev, Vishnevoe, Lesi Ukrainki, 57')->load();

$data = $data->getResponse()->getCountry();
```

### getDistrict()

[](#getdistrict)

```
use YaGeo;

$data = YaGeo::setQuery('Kiev, Vishnevoe, Lesi Ukrainki, 57')->load();

$data = $data->getResponse()->getDistrict();
```

### getLocality()

[](#getlocality)

```
use YaGeo;

$data = YaGeo::setQuery('Kiev, Vishnevoe, Lesi Ukrainki, 57')->load();

$data = $data->getResponse()->getLocality();
```

### getStreet()

[](#getstreet)

```
use YaGeo;

$data = YaGeo::setQuery('Kiev, Vishnevoe, Lesi Ukrainki, 57')->load();

$data = $data->getResponse()->getStreet();
```

### getHouseNumber()

[](#gethousenumber)

```
use YaGeo;

$data = YaGeo::setQuery('Kiev, Vishnevoe, Lesi Ukrainki, 57')->load();

$data = $data->getResponse()->getHouseNumber();
```

### getRawFullAddress()

[](#getrawfulladdress)

```
use YaGeo;

$data = YaGeo::setQuery('Kiev, Vishnevoe, Lesi Ukrainki, 57')->load();

$data = $data->getResponse()->getRawFullAddress();
```

### getFullAddress()

[](#getfulladdress)

```
use YaGeo;

$data = YaGeo::setQuery('Kiev, Vishnevoe, Lesi Ukrainki, 57')->load();

$data = $data->getResponse()->getFullAddress();
```

### getLatitude()

[](#getlatitude)

```
use YaGeo;

$data = YaGeo::setQuery('Kiev, Vishnevoe, Lesi Ukrainki, 57')->load();

$data = $data->getResponse()->getLatitude();
```

### getLongitude()

[](#getlongitude)

```
use YaGeo;

$data = YaGeo::setQuery('Kiev, Vishnevoe, Lesi Ukrainki, 57')->load();

$data = $data->getResponse()->getLongitude();
```

### getType()

[](#gettype)

```
use YaGeo;

$data = YaGeo::setQuery('Kiev, Vishnevoe, Lesi Ukrainki, 57')->load();

$data = $data->getResponse()->getType();
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 76.3% 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 ~186 days

Recently: every ~247 days

Total

11

Last Release

2695d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.3.0

1.2PHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/10d5d008d12f0add0d7857462d269c6c9bc15a57c6a9b18ec84a6e02a08725b5?d=identicon)[pendalf](/maintainers/pendalf)

---

Top Contributors

[![martinjack](https://avatars.githubusercontent.com/u/11950689?v=4)](https://github.com/martinjack "martinjack (45 commits)")[![dmkuznetsov](https://avatars.githubusercontent.com/u/223224016?v=4)](https://github.com/dmkuznetsov "dmkuznetsov (6 commits)")[![im-denisenko](https://avatars.githubusercontent.com/u/3239892?v=4)](https://github.com/im-denisenko "im-denisenko (3 commits)")[![renatko](https://avatars.githubusercontent.com/u/3335954?v=4)](https://github.com/renatko "renatko (2 commits)")[![berejant](https://avatars.githubusercontent.com/u/6256227?v=4)](https://github.com/berejant "berejant (1 commits)")[![denis909](https://avatars.githubusercontent.com/u/16691851?v=4)](https://github.com/denis909 "denis909 (1 commits)")[![pendalf](https://avatars.githubusercontent.com/u/5067462?v=4)](https://github.com/pendalf "pendalf (1 commits)")

---

Tags

apilaravelgeocodingaddressyandexlatitudelongitudegeocode

### Embed Badge

![Health badge](/badges/pendalf-laravel-yandex-geocode/health.svg)

```
[![Health](https://phpackages.com/badges/pendalf-laravel-yandex-geocode/health.svg)](https://phpackages.com/packages/pendalf-laravel-yandex-geocode)
```

###  Alternatives

[jcf/geocode

Google Geocoding API for Laravel

48160.5k](/packages/jcf-geocode)[jackmartin/laravel-yandex-geocode

Simply service laravel Yandex Geocoding

1016.6k](/packages/jackmartin-laravel-yandex-geocode)[yandex/geo

PHP-library for interactions with geo-coding Yandex.Maps

117309.0k3](/packages/yandex-geo)[1001pharmacies/geolocation-bundle

Provides an abstraction layer for geocoding services.

116.8k](/packages/1001pharmacies-geolocation-bundle)

PHPackages © 2026

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