PHPackages                             bazo/geotools - 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. bazo/geotools

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

bazo/geotools
=============

Geo Tools for PHP 5.4

1373.5k↑23.2%5[3 issues](https://github.com/bazo/route-boxer/issues)PHP

Since Mar 20Pushed 12y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

route-boxer
===========

[](#route-boxer)

PHP implementation of Google Route Boxer

Install
-------

[](#install)

add this line to your composer.json

```
"bazo/geotools" : "v0.1.0"

```

run composer install

How to use
----------

[](#how-to-use)

```

//add all points from calculated route
$points = [
	[48.167, 17.104],
	[48.399, 17.586],
	[48.908, 18.049],
	[49.22253, 18.734436],
	[48.728115, 21.255798],
];

$collection = new GeoTools\LatLngCollection($points);

$boxer = new GeoTools\RouteBoxer();

//calculate boxes with 10km distance from the line between points
$boxes = $boxer->box($collection, $distance = 10);

//boxes now contain an array of LatLngBounds

```

Enjoy

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community10

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8e88095e75ebabe4a1ace0bf87ec2813e6182f2ee80ac025f8e5bc5e00917b4f?d=identicon)[bazo](/maintainers/bazo)

---

Top Contributors

[![bazo](https://avatars.githubusercontent.com/u/181588?v=4)](https://github.com/bazo "bazo (7 commits)")

### Embed Badge

![Health badge](/badges/bazo-geotools/health.svg)

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

###  Alternatives

[byjg/singleton-pattern

A lightweight PHP implementation of the Design Pattern Singleton using trait.

1055.4k2](/packages/byjg-singleton-pattern)

PHPackages © 2026

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