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

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

jcs/country
===========

Laravel package to get country data, codes, and dial codes

v1.0.0(11mo ago)09MITPHP

Since Jun 9Pushed 11mo agoCompare

[ Source](https://github.com/jagadchandana/laravel-country-package)[ Packagist](https://packagist.org/packages/jcs/country)[ RSS](/packages/jcs-country/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

**Laravel package to get country data, codes, dial codes, flags, and more.**

---

About
-----

[](#about)

This package provides an easy way to access country information such as country names, ISO codes, dial codes, flags, currency, languages, and other details inside your Laravel application.

You can fetch all countries, search by country code, or search by country name easily using a simple API.

This package loads data from a JSON file bundled within the package — so it works offline with no external API calls.

---

Features
--------

[](#features)

- Get all country data as a Laravel collection
- Retrieve country details by ISO 2-letter country code
- Retrieve country details by country name
- Includes flags (Unicode emojis), dial codes, currency info, official languages, capital city, timezones, top-level domains, population, area, and more
- Lightweight JSON-based data source
- Easy integration with Laravel via service provider and auto-discovery

---

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

[](#installation)

Require the package via Composer:

```
composer require jcs/country
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance51

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

343d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/56ae0b6dd44a3cc8143fffe3777630faf65c0b63b1704be78e59ebf55a3f05a8?d=identicon)[jagadchandana](/maintainers/jagadchandana)

---

Top Contributors

[![jagadchandana](https://avatars.githubusercontent.com/u/73449371?v=4)](https://github.com/jagadchandana "jagadchandana (10 commits)")

### Embed Badge

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

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

PHPackages © 2026

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