PHPackages                             mhndev/location-service-client - 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. mhndev/location-service-client

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

mhndev/location-service-client
==============================

php Location Service Sdk

0.1.0(8y ago)139MITPHPPHP &gt;=7.0

Since Jul 30Pushed 8y ago3 watchersCompare

[ Source](https://github.com/mhndev/location-service-client)[ Packagist](https://packagist.org/packages/mhndev/location-service-client)[ Docs](https://github.com/mhndev/location-service-client)[ RSS](/packages/mhndev-location-service-client/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (10)Used By (0)

Location Service PHP SDK
========================

[](#location-service-php-sdk)

### Sample code

[](#sample-code)

```
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

require 'vendor/autoload.php';

$client = new \mhndev\locationClient\Client(
    'http://127.0.0.1',
    8065,
    'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjY2NjBhZmU5Mzk1MmE5M2U3NTU5NjAyNmQyNWY1Y2UzNDBiNTY2YTBkMmNhMjBhMGY2NjI1NWU0MmRkNjg3MTJmNWQ2NWFjNTY0MTAyMGNhIn0.eyJhdWQiOiJkaWdpcGV5a19zcnYjeTEyZElxcTQ1b2VXRTRTQlVxOGI0ZStkdnhDdUJvS0RRR3dxdThzOGt4ST0iLCJqdGkiOiI2NjYwYWZlOTM5NTJhOTNlNzU1OTYwMjZkMjVmNWNlMzQwYjU2NmEwZDJjYTIwYTBmNjYyNTVlNDJkZDY4NzEyZjVkNjVhYzU2NDEwMjBjYSIsImlhdCI6MTUwMTM0NzkxNSwibmJmIjoxNTAxMzQ3OTE1LCJleHAiOjE1MDE0MzQzMTUsInN1YiI6IiIsInNjb3BlcyI6WyIqIl19.aO43JXuemctOEzMfMBjeCZnXLlitHueke5-d-ysymSW6RVpiAFcRnhCAuBRoZjYRqGyX_9sEfL35OwIZNj1WGUlSEGrHlV322kbbSgFfWC_BjyWzK5N3ytDWZvS77B5hUrWcIH2efyKwmamPcjZIB_ufW0GplIz5xx9sRT6CnH9Kr408odhLGZwO4qIuwCkDGHaxxeCxzfak3bHT2yZtcVM8J9jqyS_LrR2utaa_JBTEKpBbXp34pFrljYrZi5h-mhvzzsIOa5anwA1Lj7J3qLQiQNJ9oB154z6NT02c32dL4G-aOmQJei8josfKc4RCAS4ctO4ImgcEWZC8ZG0XDfL5pCisC1h_rar_qxJQ8xgprf_DElsBT__Y5OzNkOXNJrANBjqMyoFZ-siRcOS7w2WIKkYtJZp9bw5DdpFhdlMu2-5-7qd1wkqVhUID929qADaBYVe5dlNYe-KqYobmRKo05IcWoV-_p3yf1Eq-mu3BooM2BUT4MbDJPE_KiZxiXkvnsbGvX56FXZuU2bahHfjigog_61DdWK85b0Jqa8ykrrvZqe68NqBSnX5_UOz2b8qcLJLAwBgTf1Z81JaEkLVvZ_qtIisYKX4YYaKpSLMBtZgbt0iQSJc7RegqaMWqI86TAROZ5NwKuzSK4XUprYHACOovcT3G3yqnoToE9Uo'
);

$nodes = $client->nearestNeighbours(6.1234,6.1234,10, 1000);

var_dump($nodes);
die();
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.9% 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 ~10 days

Recently: every ~19 days

Total

9

Last Release

3125d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c3e5d182214e2e6b989a2230bcae80b2107b088da1c6dbea6f6f8d28702e272?d=identicon)[majidphpdeveloper](/maintainers/majidphpdeveloper)

---

Top Contributors

[![mhndev](https://avatars.githubusercontent.com/u/5164182?v=4)](https://github.com/mhndev "mhndev (16 commits)")[![majidakbari](https://avatars.githubusercontent.com/u/17963906?v=4)](https://github.com/majidakbari "majidakbari (2 commits)")

---

Tags

locationlocation-based-serviceslocation-servicesphplocationlocation-service

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mhndev-location-service-client/health.svg)

```
[![Health](https://phpackages.com/badges/mhndev-location-service-client/health.svg)](https://phpackages.com/packages/mhndev-location-service-client)
```

###  Alternatives

[stevebauman/location

Retrieve a user's location by their IP Address

1.3k7.6M65](/packages/stevebauman-location)[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341682.2k18](/packages/gehrisandro-tailwind-merge-laravel)[jeroendesloovere/distance

Get distance between two locations using PHP.

3462.8k](/packages/jeroendesloovere-distance)

PHPackages © 2026

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