PHPackages                             mroldan/laravel-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. mroldan/laravel-geocoder

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mroldan/laravel-geocoder
========================

Laravel Geocoder

0183PHP

Since May 18Pushed 6y ago1 watchersCompare

[ Source](https://github.com/mroldanmx/laravel-geocoder)[ Packagist](https://packagist.org/packages/mroldan/laravel-geocoder)[ RSS](/packages/mroldan-laravel-geocoder/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Geocoder
================

[](#laravel-geocoder)

Find the location data from a string, such as prov, city, and coordinates. Dead Simple. Works for US and CA addresses.

Uses  on the background

### Usage

[](#usage)

```
$geo = new Geocoder();
$locationObject = $geo->locate("V8L4S2");

$location->standard->city; //Sidney
$location->standard->prov; //BC
```

```
{
  "standard": {
    "staddress": {},
    "stnumber": {},
    "prov": "BC",
    "city": "Sidney",
    "confidence": "0.9"
  },
  "Dissemination_Area": { "adauid": "59170008", "dauid": "59170036" },
  "longt": "-123.408216",
  "postal": "V8L4S2",
  "latt": "48.662774"
}
```

### Using proxy

[](#using-proxy)

To try avoiding the geocoder.ca service throttling us.

It'll try the request until a location is received without ERROR\_ACCESS\_DENIED

we can activate a proxy list by doing:

```
$geo->debug = true;
$geo->useProxy= true;

//will download a list of proxies from $geo->proxyListURL. Set to https://proxy.rudnkh.me/txt by default

$geo->locate("V8L4S2");
```

#### Continuous Testing

[](#continuous-testing)

The composer.json comes with PHPUnit and the task runner [Robo](https://github.com/consolidation/Robo).

To execute the task runner defined in the `RoboFile`:

```
$ composer watch

```

The robo plugin executes the tests **every time a change is made in src or tests folder**. You can tweak this to your preference in the RoboFile.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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/825f802113460db0d6dfcb2f46933d4307e1e702724629b49e43c0433cfcedc2?d=identicon)[ratacibernetica](/maintainers/ratacibernetica)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mroldan-laravel-geocoder/health.svg)

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

PHPackages © 2026

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