PHPackages                             zoparga/worldcountries - 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. zoparga/worldcountries

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

zoparga/worldcountries
======================

This is a simple package to add countries with country code to your application.

03[2 PRs](https://github.com/zoparga/laravel-world-countries/pulls)PHP

Since Jul 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/zoparga/laravel-world-countries)[ Packagist](https://packagist.org/packages/zoparga/worldcountries)[ RSS](/packages/zoparga-worldcountries/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

This is a simple package to add countries with country code to your application.
================================================================================

[](#this-is-a-simple-package-to-add-countries-with-country-code-to-your-application)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ca949e4e8358284bd3a2234973f6d834db81fbe5b82969f24091436f94f75641/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a6f70617267612f776f726c64636f756e74726965732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zoparga/worldcountries)[![GitHub Tests Action Status](https://camo.githubusercontent.com/7bf306aa7f01b833e8a04fe5ee1ae63586d745fa43afb36e5ea3022336fd15f9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7a6f70617267612f776f726c64636f756e74726965732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/zoparga/worldcountries/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/af1c1adb09b7ec1865fbb1ddc740fb2e5c5b13cc9218315101da113bc3fd32c9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7a6f70617267612f776f726c64636f756e74726965732f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/zoparga/worldcountries/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/c37421d90be295d8570ab3c4cb1f1f32ff6e42290a2fc564e5e3c1a7cf007200/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a6f70617267612f776f726c64636f756e74726965732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zoparga/worldcountries)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

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

[](#installation)

You can install the package via composer:

```
composer require zoparga/worldcountries
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="worldcountries-migrations"
php artisan migrate
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [zoparga](https://github.com/zoparga)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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/22a5be5fde39a2a8b568a6b58f19db59352605afe5ba0c7ae42deeb5990d1fb4?d=identicon)[zoparga](/maintainers/zoparga)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (10 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (10 commits)")[![zoparga](https://avatars.githubusercontent.com/u/15894503?v=4)](https://github.com/zoparga "zoparga (5 commits)")

### Embed Badge

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

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

###  Alternatives

[rafaelfragoso/haversini-formula

This PHP class can replace the Google Distance Matrix to calculate the distance between two points using latitude and longitude. It will prevent you to do massive requests to Google servers and enhance your service performance.

45212.0k](/packages/rafaelfragoso-haversini-formula)

PHPackages © 2026

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