PHPackages                             aheenam/countries - 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. aheenam/countries

ActiveLaravel-package[Utility &amp; Helpers](/categories/utility)

aheenam/countries
=================

A simple Laravel package to handle country lists

v1.0.1(8y ago)126MITPHP

Since Aug 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Aheenam/laravel-countries)[ Packagist](https://packagist.org/packages/aheenam/countries)[ RSS](/packages/aheenam-countries/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Laravel Countries
=================

[](#laravel-countries)

This package is a Laravel Wrapper for the [country-list](https://github.com/umpirsky/country-list) package by [Saša Stamenković](https://github.com/umpirsky). It was created as a fallback to [antonioribeiro/countries](https://github.com/antonioribeiro/countries) which has PHP 7 and Laravel 5.3 as it minimum requirements.

> **Note**: that this package does NOT contain the whole functionality as antonioribeiro/countries but only provides the name of the countries

---

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

[](#installation)

You can install the package via composer:

```
$ composer require aheenam/laravel-translatable
```

Then add the service provider must be registered:

```
// config/app.php
'providers' => [
    // ...
    Aheenam\Countries\CountriesServiceProvider::class,
];
```

Also add Countries to your aliases list

```
// config/app.php
'aliases' => [
    // ...
    'Countries' => \Aheenam\Countries\Facades\Countries::class,
];
```

Usage
-----

[](#usage)

There are not that much methods for now. If you are interested in more, feel free to add them and send us a PR.

### Get All Countries

[](#get-all-countries)

```
