PHPackages                             2gis/api-client - 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. 2gis/api-client

ActiveLibrary[API Development](/categories/api)

2gis/api-client
===============

2Gis web API 2.0 client library

0.2-alpha(11y ago)66.2k2MITPHPPHP &gt;=5.3.0

Since Oct 13Pushed 10y ago15 watchersCompare

[ Source](https://github.com/2gis/webapi-client)[ Packagist](https://packagist.org/packages/2gis/api-client)[ RSS](/packages/2gis-api-client/feed)WikiDiscussions master Synced 1mo ago

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

PHP библиотека к API 2Гис
=========================

[](#php-библиотека-к-api-2гис)

[![Build Status](https://camo.githubusercontent.com/228af17478246f200caaec06b8e0001c14a32bc81df6f9fcaee70bdd0d7117da/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f326769732f7765626170692d636c69656e742e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/2gis/webapi-client)[![Latest Stable Version](https://camo.githubusercontent.com/14015c77d762adef39271a2a2a99d8e6314d55fd0e216bb05f7fe62f0987dce1/68747470733a2f2f706f7365722e707567782e6f72672f326769732f6170692d636c69656e742f762f737461626c652e706e67)](https://packagist.org/packages/2gis/api-client)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ae21a1e9a991a02a8a470051b06e5c81ebd85891220e6451d303bc655c78854b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f326769732f7765626170692d636c69656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/2gis/webapi-client/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/7043a27d2093bc0e4f97c69db45327961ad6a234354752b6dc90c2ac4a3d66d4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f326769732f7765626170692d636c69656e742f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/2gis/webapi-client/?branch=master)[![License](https://camo.githubusercontent.com/9e7ec5580bc16076e3b828abc04bf2d2e551fa51bba1d75c583d522dbf552be7/68747470733a2f2f706f7365722e707567782e6f72672f326769732f6170692d636c69656e742f6c6963656e73652e737667)](https://packagist.org/packages/2gis/api-client)

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

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

### composer

[](#composer)

Установка с использованием менеджера пакетов [Composer](http://getcomposer.org):

```
$ curl -s https://getcomposer.org/installer | php
```

Теперь вносим изменения в ваш `composer.json`:

```
{
    "require": {
        "2gis/api-client": "dev-master"
    }
}
```

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

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

- [API регионов](http://api.2gis.ru/doc/2.0/region/quickstart)
- [API справочника](http://api.2gis.ru/doc/2.0/catalog/quickstart)
- [API транспорта](http://api.2gis.ru/doc/2.0/transport/route/search)
- [API геоданных](http://api.2gis.ru/doc/2.0/geo/method/search-query/query)

Лицензия
--------

[](#лицензия)

Пакет `2gis/api-client` распространяется под лицензией MIT (текст лицензии вы найдёте в файле [LICENSE](https://raw.github.com/2gis/api-client/master/LICENSE)), данная лицензия распространяется на код данной библиотеки и только на неё, использование сервисов 2Гис регулируются документами, которые вы сможете найти на странице [Правовая информация по API 2ГИС](http://help.2gis.ru/api-rules/)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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

Unknown

Total

1

Last Release

4227d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f8f1e80d3b8508b2fb4653e5428824d735fb0079dbfbd346d9d42a389651844f?d=identicon)[aotd](/maintainers/aotd)

---

Top Contributors

[![aotd1](https://avatars.githubusercontent.com/u/1684688?v=4)](https://github.com/aotd1 "aotd1 (3 commits)")[![wDevil](https://avatars.githubusercontent.com/u/1007933?v=4)](https://github.com/wDevil "wDevil (2 commits)")

---

Tags

api2Gis

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/2gis-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/2gis-api-client/health.svg)](https://phpackages.com/packages/2gis-api-client)
```

###  Alternatives

[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

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