PHPackages                             madebydaniz/location-info - 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. madebydaniz/location-info

ActivePackage[API Development](/categories/api)

madebydaniz/location-info
=========================

This is a tool to search OSM data by name and address and to generate synthetic addresses of OSM points (reverse geocoding).

1.0.1(6y ago)1142MITPHPPHP &gt;=7.1

Since May 1Pushed 6y agoCompare

[ Source](https://github.com/mbd-codex/location-info)[ Packagist](https://packagist.org/packages/madebydaniz/location-info)[ RSS](/packages/madebydaniz-location-info/feed)WikiDiscussions master Synced today

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

Location Info
=============

[](#location-info)

[![Latest Stable Version](https://camo.githubusercontent.com/04a764147c2416c44a8418aa470b52a8152f8d1bfeec5dcfbbfb4d81a0b327b8/68747470733a2f2f706f7365722e707567782e6f72672f6d616465627964616e697a2f6c6f636174696f6e2d696e666f2f762f737461626c65)](https://packagist.org/packages/madebydaniz/location-info)[![Total Downloads](https://camo.githubusercontent.com/24153c689b4425e737948343a03209bd150d9a448daf3207fc566a60bb76bb06/68747470733a2f2f706f7365722e707567782e6f72672f6d616465627964616e697a2f6c6f636174696f6e2d696e666f2f646f776e6c6f616473)](https://packagist.org/packages/madebydaniz/location-info)[![License](https://camo.githubusercontent.com/3aa33aeb54cb06b544abffe3e6aa73a1946cca9c73f90f7de3159dc477e21d6f/68747470733a2f2f706f7365722e707567782e6f72672f6d616465627964616e697a2f6c6f636174696f6e2d696e666f2f6c6963656e7365)](https://packagist.org/packages/madebydaniz/location-info)

This is a tool to search OSM data by name and address and to generate synthetic addresses of OSM points (reverse geocoding).

Requirements
------------

[](#requirements)

- [PHP](https://secure.php.net/manual/en/install.php) &gt;= 7.1
- [Composer](https://getcomposer.org/download/)
- [curl](https://packagist.org/packages/curl/curl)

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

[](#installation)

Install via Composer:

```
$ composer require madebydaniz/location-info
```

Usage
-----

[](#usage)

Reference :

```
$address = "Stephansplatz 2, 1010, Wien";
$data = LocationInfo::getInstance()::search($address);
print_r($data);

#output
Array
(
    [place_id] => 4868677
    [licence] => Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright
    [osm_type] => node
    [osm_id] => 567056993
    [boundingbox] => Array
        (
            [0] => 48.2080963
            [1] => 48.2081963
            [2] => 16.3722742
            [3] => 16.3723742
        )

    [lat] => 48.2081463
    [lon] => 16.3723242
    [display_name] => 2, Stephansplatz, Stubenviertel, KG Innere Stadt, Innere Stadt, Wien, 1010, Österreich
    [class] => place
    [type] => house
    [importance] => 0.441
)
```

\#TODO : return format

- html
- xml
- json
- jsonv2
- geojson
- geocodejson

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2199d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12957595?v=4)[Daniel Niazmand](/maintainers/madebydaniz)[@madebydaniz](https://github.com/madebydaniz)

---

Top Contributors

[![madebydaniz](https://avatars.githubusercontent.com/u/12957595?v=4)](https://github.com/madebydaniz "madebydaniz (5 commits)")

---

Tags

addresscomposerlatitude-and-longitudelocationopenstreetmaposmwordpresscomposerwordpressaddresslocationOpenStreetMap

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/madebydaniz-location-info/health.svg)

```
[![Health](https://phpackages.com/badges/madebydaniz-location-info/health.svg)](https://phpackages.com/packages/madebydaniz-location-info)
```

###  Alternatives

[sybrew/the-seo-framework

An automated, advanced, accessible, unbranded and extremely fast SEO solution for any WordPress website.

47078.8k](/packages/sybrew-the-seo-framework)[jackmartin/laravel-yandex-geocode

Simply service laravel Yandex Geocoding

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

PHPackages © 2026

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