PHPackages                             zippopotamus/zippopotamus - 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. [API Development](/categories/api)
4. /
5. zippopotamus/zippopotamus

ActiveLibrary[API Development](/categories/api)

zippopotamus/zippopotamus
=========================

A PHP library for Zippopotam.us API

0.9.0(12y ago)32.6k5MITPHPPHP &gt;=5.3.3

Since Mar 30Pushed 10y ago1 watchersCompare

[ Source](https://github.com/StukiOrg/ZippopotamusClient-PHP)[ Packagist](https://packagist.org/packages/zippopotamus/zippopotamus)[ Docs](http://www.zippopotam.us)[ RSS](/packages/zippopotamus-zippopotamus/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Zippopotamus PHP Library
========================

[](#zippopotamus-php-library)

A library to abstract the Zippopotamus API

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

[](#installation)

1. edit `composer.json` file with following contents:

    ```
    "require": {
       "zippopotamus/zippopotamus": "dev-master"
    }
    ```
2. install composer via `curl -s http://getcomposer.org/installer | php` (on windows, download  and execute it with PHP)
3. run `php composer.phar install`

Use
---

[](#use)

```
use Zippopotamus\Service\Zippopotamus;

$result = Zippopotamus::code($countryCode, $postalCode);

$result = Zippopotamus::place($countryCode, $state, $city);

$result = Zippopotamus::nearby($countryCode, $postalCode);
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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

Unknown

Total

1

Last Release

4433d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/49dd7d9dba889ac674b0da447d9c1e69d1128dc3ccbaef98ba83d6ee519fc2d6?d=identicon)[tom\_anderson](/maintainers/tom_anderson)

---

Top Contributors

[![TomHAnderson](https://avatars.githubusercontent.com/u/493920?v=4)](https://github.com/TomHAnderson "TomHAnderson (5 commits)")[![Morgon](https://avatars.githubusercontent.com/u/879077?v=4)](https://github.com/Morgon "Morgon (1 commits)")

---

Tags

statecountrycityzipcode

### Embed Badge

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

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

###  Alternatives

[dipeshsukhia/laravel-country-state-city-data

Country State City Data Provider

8230.8k](/packages/dipeshsukhia-laravel-country-state-city-data)[usamamuneerchaudhary/country-city-state

Country City State Data Provider for Laravel 12+

242.6k](/packages/usamamuneerchaudhary-country-city-state)

PHPackages © 2026

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