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

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

vinelab/country
===============

Country names and abbreviations

v0.3.0(5y ago)23.0k2[1 issues](https://github.com/Vinelab/country/issues)[1 PRs](https://github.com/Vinelab/country/pulls)MITPHPPHP &gt;=7.0CI failing

Since Jun 2Pushed 5y ago6 watchersCompare

[ Source](https://github.com/Vinelab/country)[ Packagist](https://packagist.org/packages/vinelab/country)[ RSS](/packages/vinelab-country/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (4)Versions (13)Used By (0)

Country package for Laravel 5
-----------------------------

[](#country-package-for-laravel-5)

Translates between country name and abbreviation and vise versa.

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

[](#installation)

```
composer require vinelab/country

```

Publish Config File
-------------------

[](#publish-config-file)

```
php artisan vendor:publish --provider="Vinelab\Country\CountryServiceProvider"

```

Usage
-----

[](#usage)

```
$countryName = Country::name('US'); // United States
$countryAbbreviation = Country::abbreviation('United States'); // US
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

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

Every ~287 days

Recently: every ~397 days

Total

11

Last Release

1850d ago

PHP version history (2 changes)v0.1PHP &gt;=5.3.0

v0.2.0PHP &gt;=7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4564469?v=4)[Sociata](/maintainers/Vinelab)[@Vinelab](https://github.com/Vinelab)

![](https://www.gravatar.com/avatar/67520ab110269207ca5dea8b24fd50d2cdb78c6e1b5d34c5d25976366e99173c?d=identicon)[Mulkave](/maintainers/Mulkave)

---

Top Contributors

[![Mulkave](https://avatars.githubusercontent.com/u/2647333?v=4)](https://github.com/Mulkave "Mulkave (15 commits)")[![alisissa](https://avatars.githubusercontent.com/u/443781?v=4)](https://github.com/alisissa "alisissa (6 commits)")[![adiachenko](https://avatars.githubusercontent.com/u/10194667?v=4)](https://github.com/adiachenko "adiachenko (5 commits)")[![IlliaBalia](https://avatars.githubusercontent.com/u/46751576?v=4)](https://github.com/IlliaBalia "IlliaBalia (2 commits)")[![KinaneD](https://avatars.githubusercontent.com/u/12595235?v=4)](https://github.com/KinaneD "KinaneD (1 commits)")

---

Tags

laravelcountries

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[dougsisk/laravel-country-state

Country &amp; state helper for Laravel.

1681.7M](/packages/dougsisk-laravel-country-state)[tonysm/importmap-laravel

Use ESM with importmap to manage modern JavaScript in Laravel without transpiling or bundling.

148399.8k1](/packages/tonysm-importmap-laravel)[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

142146.8k](/packages/bensampo-laravel-embed)[dragon-code/pretty-routes

Pretty Routes for Laravel

10058.7k4](/packages/dragon-code-pretty-routes)[laracraft-tech/laravel-useful-additions

A collection of useful Laravel additions!

58109.4k](/packages/laracraft-tech-laravel-useful-additions)

PHPackages © 2026

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