PHPackages                             samayo/country-json - 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. samayo/country-json

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

samayo/country-json
===================

A simple but useful data of the world (by country) in JSON formats

v2.2.7(1y ago)1.1k22.4k—10%[3 PRs](https://github.com/samayo/country-json/pulls)MITPHP &gt;=5.3.0

Since Feb 8Compare

[ Source](https://github.com/samayo/country-json)[ Packagist](https://packagist.org/packages/samayo/country-json)[ Docs](http://github.com/samayo/country-json)[ RSS](/packages/samayo-country-json/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (1)Versions (29)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/samayo/country-json).

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community2

Small or concentrated contributor base

Maturity69

Established project with proven stability

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

Recently: every ~18 days

Total

22

Last Release

625d ago

Major Versions

1.1.6 → 2.0.02024-03-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/8224efc6c85f9ed635239195b886766f000c05d279ba93124dcc361c235efdf7?d=identicon)[samayo](/maintainers/samayo)

---

Tags

jsondatacountry

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/samayo-country-json/health.svg)

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

###  Alternatives

[justinrainbow/json-schema

A library to validate a json schema.

3.6k316.9M612](/packages/justinrainbow-json-schema)[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[jms/serializer

Library for (de-)serializing data of any complexity; supports XML, and JSON.

2.3k135.8M851](/packages/jms-serializer)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)[annexare/countries-list

Continents &amp; countries: ISO 3166-1 alpha-2 code, name, ISO 639-1 languages, capital, currency, native name, phone. JSON, CSV and SQL.

1.3k220.8k1](/packages/annexare-countries-list)[colinodell/json5

UTF-8 compatible JSON5 parser for PHP

30422.2M45](/packages/colinodell-json5)

PHPackages © 2026

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