PHPackages                             ghabes/yii2-geocoder - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ghabes/yii2-geocoder

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

ghabes/yii2-geocoder
====================

Yii 2 Geocoder with Yandex Geocoder API and Google Maps API

017PHP

Since Aug 19Pushed 7y agoCompare

[ Source](https://github.com/ghabes/yii2-geocoder)[ Packagist](https://packagist.org/packages/ghabes/yii2-geocoder)[ RSS](/packages/ghabes-yii2-geocoder/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-geocoder
=============

[](#yii2-geocoder)

Description
===========

[](#description)

This module need to find the coordinates by address using The Google Maps Geocoding API or Yandex Geocoder API.

Installation
============

[](#installation)

This document will guide you through the process of installing Yii2-geocoder using **composer**.

Download Yii2-geocoder using composer
-------------------------------------

[](#download-yii2-geocoder-using-composer)

Add `"deka6pb/yii2-geocoder": "*"` to the require section of your **composer.json** file and run `composer update` to download and install Yii2-autoparser.

```
Geocoders:
- Geocoder::TYPE_GOOGLE
- Geocoder::TYPE_YANDEX

```

Methods:

```
findByAddress($address, array $params = [], $results = 10)

findOneByAddress($address, array $params = [])

findByPoint(Point $point, $kind, Point $radius = null, array $params = [], $results = 10)

findByOnePoint(Point $point, $kind, Point $radius = null, array $params = [])

```

For example:
------------

[](#for-example)

```
$address = "2707 Congress St., San Diego, CA 92110";

/* @var CoderInterface $coder */
$coder = Geocoder::build(Geocoder::TYPE_GOOGLE);
$object = $coder::findOneByAddress($address);

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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://www.gravatar.com/avatar/3ba6421340e5823ca1bb684bc13c1f666120fb2138e44fbde565504b0bc5b85f?d=identicon)[ghabes](/maintainers/ghabes)

---

Top Contributors

[![deka6pb](https://avatars.githubusercontent.com/u/4976252?v=4)](https://github.com/deka6pb "deka6pb (18 commits)")

### Embed Badge

![Health badge](/badges/ghabes-yii2-geocoder/health.svg)

```
[![Health](https://phpackages.com/badges/ghabes-yii2-geocoder/health.svg)](https://phpackages.com/packages/ghabes-yii2-geocoder)
```

###  Alternatives

[mj/breadcrumb

A simple breadcrumb generator for Laravel 4

116.3k](/packages/mj-breadcrumb)

PHPackages © 2026

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