PHPackages                             webeweb/geo-json-library - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. webeweb/geo-json-library

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

webeweb/geo-json-library
========================

Integrate Geo JSON with your projects

v1.10.0(10mo ago)120.4k↓42.6%2MITPHPPHP ^7.1|^8.0CI failing

Since Jun 3Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/webeweb/geo-json-library)[ Packagist](https://packagist.org/packages/webeweb/geo-json-library)[ Docs](https://github.com/webeweb/geo-json-library)[ RSS](/packages/webeweb-geo-json-library/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (5)Versions (23)Used By (2)

geo-json-library
================

[](#geo-json-library)

[![Github actions workflow status](https://camo.githubusercontent.com/b0b869946876a62cabb1d756da5b0c255638e7f39e70fd53631a14953836f31c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f776562657765622f67656f2d6a736f6e2d6c6962726172792f6275696c642e796d6c3f7374796c653d666f722d7468652d626164676526636f6c6f72323038384646266c6f676f3d676974687562)](https://github.com/webeweb/geo-json-library/actions)[![Coveralls](https://camo.githubusercontent.com/e5dc205cd4c46fdb11be936230601f20cebf7cf175ac9a7592936686f13a6266/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f776562657765622f67656f2d6a736f6e2d6c6962726172792f6d61737465722e7376673f7374796c653d666f722d7468652d626164676526636f6c6f723d334635373637266c6f676f3d636f766572616c6c73)](https://coveralls.io/github/webeweb/geo-json-library?branch=master)[![Packagist version](https://camo.githubusercontent.com/c7243f9ab9047987b649fb1faf6db7b55586028257c56b1ca99715e6ae67a872/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776562657765622f67656f2d6a736f6e2d6c6962726172792e7376673f7374796c653d666f722d7468652d626164676526636f6c6f723d463238443141266c6f676f3d7061636b6167697374)](https://packagist.org/packages/webeweb/geo-json-library)[![Packagist license](https://camo.githubusercontent.com/e08a08b32e364a4c7c2d0d4897235f9cfdf1e813d9a65bf37baf532001026969/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f776562657765622f67656f2d6a736f6e2d6c6962726172792e7376673f7374796c653d666f722d7468652d626164676526636f6c6f72463238443141266c6f676f3d646174613a696d6167652f7376672b786d6c3b6261736536342c50484e325a79423462577875637a30696148523063446f764c336433647935334d793576636d63764d6a41774d43397a646d636949475a7062477739496d3576626d556949484e30636d39725a54306949305a4752694967646d6c6c64304a76654430694d4341774944493049444930496a3438634746306143427a64484a766132557462476c755a574e6863443069636d3931626d516949484e30636d39725a5331736157356c616d3970626a3069636d3931626d516949484e30636d39725a53313361575230614430694d6949675a44306962544d674e69417a494446744d4341774c544d674f5745314c6a41774d6941314c6a41774d694177494441674d4341324c6a41774d534177545459674e32777a49446c4e4e694133624459744d6d3032494449674d7930786253307a494445744d794135595455754d444179494455754d444179494441674d434177494459754d4441784944424e4d5467674e32777a49446c744c544d744f5330324c544a744d433079646a4a744d4341784e6c5931625441674d545a494f57307a4944426f4d794976506a777663335a6e50673d3d)](./LICENSE)

Integrate Geo JSON with your projects.

`geo-json-library` includes classes for each data structure defined in the [GeoJSON specification](https://github.com/webeweb/geo-json-library/blob/master/doc/RFC7946.pdf).

If you like this package, pay me a beer (or a coffee) [![paypal.me](https://camo.githubusercontent.com/211f28ae88a666754907ff7d47d954e884272bf74a7ba304b8291a175b253125/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2e6d652d776562657765622d3030333038372e7376673f7374796c653d666c61742d737175617265266c6f676f3d70617970616c)](https://www.paypal.me/webeweb)

Compatibility
-------------

[](#compatibility)

[![PHP](https://camo.githubusercontent.com/c730615aef449a6a2e8033b159ea212f5693451bfc3d65a85dab1e300ee7985e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f776562657765622f67656f2d6a736f6e2d6c6962726172792e7376673f7374796c653d666f722d7468652d626164676526636f6c6f723d373737424234266c6f676f3d706870)](http://php.net)

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

[](#installation)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this package:

```
composer require webeweb/geo-json-library
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md) of the Composer documentation.

Usage
-----

[](#usage)

Read the [documentation](doc/index.md).

Testing
-------

[](#testing)

To test the package, is better to clone this repository on your computer. Open a command console and execute the following commands to download the latest stable version of this package:

```
git clone https://github.com/webeweb/geo-json-library.git
cd geo-json-library
composer install
```

Once all required libraries are installed then do:

```
vendor/bin/phpunit
```

License
-------

[](#license)

`geo-json-library` is released under the MIT License. See the bundled [LICENSE](LICENSE)file for details.

Donate
------

[](#donate)

If you like this work, please consider donating at [![paypal.me](https://camo.githubusercontent.com/211f28ae88a666754907ff7d47d954e884272bf74a7ba304b8291a175b253125/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2e6d652d776562657765622d3030333038372e7376673f7374796c653d666c61742d737175617265266c6f676f3d70617970616c)](https://www.paypal.me/webeweb)

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance56

Moderate activity, may be stable

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity70

Established project with proven stability

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

Recently: every ~127 days

Total

22

Last Release

326d ago

PHP version history (2 changes)v1.0.0PHP ^5.6|^7.0

v1.1.0PHP ^7.1|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3af0f8a26f2253921537f363ec984cd5a459cf3f0b3cec0bc70bdb8d8c723612?d=identicon)[webeweb](/maintainers/webeweb)

---

Top Contributors

[![webeweb](https://avatars.githubusercontent.com/u/32354830?v=4)](https://github.com/webeweb "webeweb (186 commits)")

---

Tags

geojsonlibraryphpwebewebjsonlibrarygeowebeweb

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/webeweb-geo-json-library/health.svg)

```
[![Health](https://phpackages.com/badges/webeweb-geo-json-library/health.svg)](https://phpackages.com/packages/webeweb-geo-json-library)
```

###  Alternatives

[justinrainbow/json-schema

A library to validate a json schema.

3.6k334.7M789](/packages/justinrainbow-json-schema)[thunderer/serializard

Flexible serializer

2667.9k1](/packages/thunderer-serializard)[juststeveking/resume-php

A PHP library for building and working with the JSON resume schema.

1061.1k](/packages/juststeveking-resume-php)[hamlet-framework/json-mapper

Json Data Binding

2711.9k](/packages/hamlet-framework-json-mapper)[jbuilder/common

This is a library for creating the structure of the JSON for PHP 5.4+

1331.0k1](/packages/jbuilder-common)[phppkg/config

Config manage, load, get. Supports INI,JSON,YAML,NEON,PHP format file

133.5k](/packages/phppkg-config)

PHPackages © 2026

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