PHPackages                             geojson/geojson - 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. geojson/geojson

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

geojson/geojson
===============

GeoJSON implementation for PHP

33101PHPCI failing

Since Sep 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/lorenzomar/geojson)[ Packagist](https://packagist.org/packages/geojson/geojson)[ RSS](/packages/geojson-geojson/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

GeoJSON [![Build Status](https://camo.githubusercontent.com/f7040226e210d7c68ddeb419428f325689ef6e501d5566d878e9b36c710fb6a6/68747470733a2f2f7472617669732d63692e6f72672f6c6f72656e7a6f6d61722f67656f6a736f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/lorenzomar/geojson)
=============================================================================================================================================================================================================================================================================================

[](#geojson-)

[![Maintainability](https://camo.githubusercontent.com/f0185638f99fea148ae79683420ecce2fc41e1be9f506fd7bc27a6f5831efc07/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f30376636353261336531633666373632346233622f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/lorenzomar/geojson/maintainability)[![Test Coverage](https://camo.githubusercontent.com/db5ea5d7eeba05b194f3618d3ce2eeff2e578d48b55585d9c6b5faa320675f2d/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f30376636353261336531633666373632346233622f746573745f636f766572616765)](https://codeclimate.com/github/lorenzomar/geojson/test_coverage)[![Total Downloads](https://camo.githubusercontent.com/d69fa0de921f2e56e943593e4ebd6fbcc62cbc7bd85efa97d65f9cced98e37f9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f67656f6a736f6e2f67656f6a736f6e2e737667)](https://packagist.org/packages/geojson/geojson)[![Latest Stable Version](https://camo.githubusercontent.com/282cdca08442db5f8a8ddfca5947f62664514a094aed08f31168126850110c1c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f72656e7a6f6d61722f67656f6a736f6e2e737667)](https://packagist.org/packages/geojson/geojson)[![GitHub license](https://camo.githubusercontent.com/cccce3f13734d6b78d1e0136f34ba189818779d89f68bd658e66126f19d81b50/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6c6f72656e7a6f6d61722f67656f6a736f6e2e737667)](https://github.com/lorenzomar/geojson/blob/master/LICENSE)

GeoJSON is a format for encoding a variety of geographic data structures using JavaScript Object Notation (JSON)

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

[](#installation)

Install the latest version with

```
$ composer require geojson/geojson
```

Usage
-----

[](#usage)

@TODO

About
-----

[](#about)

### Requirements

[](#requirements)

- GeoJSON works with PHP 7.0 or above.

### Submitting bugs and feature requests

[](#submitting-bugs-and-feature-requests)

Bugs and feature request are tracked on [GitHub](https://github.com/lorenzomar/geojson/issues)

### Author

[](#author)

Lorenzo Marzullo

### License

[](#license)

GeoJSON is licensed under the MIT License - see the `LICENSE` file for details

Articoli:

-

TODO:

- Riscrivere construct di MultiLineString per evitare l'utilizzo della classe Utils
- scrivere i test di MultiLineString
- Riscrivere MultiPolygon construct
- scrivere test per poligono e multipoligono

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 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/bc74741c2007aa0db0e118ec7357c2aaff6dc66c2512d48fae54593a7b6b7924?d=identicon)[lorenzomar](/maintainers/lorenzomar)

---

Top Contributors

[![lorenzomar](https://avatars.githubusercontent.com/u/612386?v=4)](https://github.com/lorenzomar "lorenzomar (14 commits)")

---

Tags

geojson

### Embed Badge

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

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

###  Alternatives

[nativephp/mobile

NativePHP for Mobile

1.1k102.1k138](/packages/nativephp-mobile)

PHPackages © 2026

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