PHPackages                             kage-no-neko/osm - 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. kage-no-neko/osm

AbandonedArchivedLibrary[API Development](/categories/api)

kage-no-neko/osm
================

OpenStreetMap API Integration

0.2.6(4y ago)34.5k3MITPHPPHP &gt;=5.5.9

Since Jan 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/KageNoNeko/osm)[ Packagist](https://packagist.org/packages/kage-no-neko/osm)[ Docs](https://github.com/KageNoNeko/osm)[ RSS](/packages/kage-no-neko-osm/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (8)Used By (0)

osm
===

[](#osm)

> OpenStreetMap API Integration

Basic Usage
===========

[](#basic-usage)

Find nodes in Germany bounding box: NE 55.05814, 15.04205 SW 47.27021, 5.86624

```
$south = 47.27021;
$west = 5.86624;
$north = 55.05814;
$east = 15.04205;

// create bounding box
$bBox = new \KageNoNeko\OSM\BoundingBox($south, $west, $north, $east);

// slice to lesser boxes to reduce memory usage
$slices = $bBox->slices(4, 4);

// create connection to Overpass API source
$osm = new \KageNoNeko\OSM\OverpassConnection(['interpreter' => 'http://overpass-api.de/api/interpreter']);

// build query, like we usually do with Database queries
$q = $osm->element('node')
    ->whereTag('aeroway', 'aerodrome')
    ->verbosity('meta')
    ->asJson();

$nodes = [];
foreach ($slices as $slice) {
    //add constraint by boundary box of each slice and get result
    $response = $q->whereInBBox($slice)->get();
    $data = json_decode($response->getBody()->getContents());
    $nodes = array_merge($nodes, $data->elements);
}
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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 ~399 days

Recently: every ~499 days

Total

6

Last Release

1810d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3940317?v=4)[KageNoNeko](/maintainers/KageNoNeko)[@KageNoNeko](https://github.com/KageNoNeko)

---

Top Contributors

[![KageNoNeko](https://avatars.githubusercontent.com/u/3940317?v=4)](https://github.com/KageNoNeko "KageNoNeko (21 commits)")

---

Tags

apiosmopen street map

### Embed Badge

![Health badge](/badges/kage-no-neko-osm/health.svg)

```
[![Health](https://phpackages.com/badges/kage-no-neko-osm/health.svg)](https://phpackages.com/packages/kage-no-neko-osm)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.7k371.6k6](/packages/theodo-group-llphant)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[clicksend/clicksend-php

301.6M11](/packages/clicksend-clicksend-php)[maxh/php-nominatim

Wrapper for Nominatim API

50406.4k2](/packages/maxh-php-nominatim)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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