PHPackages                             jberall/getlatlng - 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. jberall/getlatlng

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

jberall/getlatlng
=================

takes an address array and returns a latitude, longitude and latlng in an array

025PHP

Since May 16Pushed 8y ago1 watchersCompare

[ Source](https://github.com/jberall/getlatlng)[ Packagist](https://packagist.org/packages/jberall/getlatlng)[ RSS](/packages/jberall-getlatlng/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Get Latitude Longitude
======================

[](#get-latitude-longitude)

Takes an address array and return an array of latitude, longitude and latlng

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

You also need to install composer require wenbin1989/yii2-curl:dev-master or add "wenbin1989/yii2-curl": "dev-master"

Either run

```
composer require jberall/getlatlng:dev-master

```

or add

```
"jberall/getlatlng": "dev-master"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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/b0e2e29d7fb708493437055490cbf0e58179b34a3a8f4a2760e7c50f618a0f7b?d=identicon)[jberall](/maintainers/jberall)

### Embed Badge

![Health badge](/badges/jberall-getlatlng/health.svg)

```
[![Health](https://phpackages.com/badges/jberall-getlatlng/health.svg)](https://phpackages.com/packages/jberall-getlatlng)
```

###  Alternatives

[daverandom/exceptional-json

JSON encoding and decoding that throws exceptions on failure

321.4M9](/packages/daverandom-exceptional-json)

PHPackages © 2026

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