PHPackages                             ijeffro/laravel-airports - 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. ijeffro/laravel-airports

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

ijeffro/laravel-airports
========================

Laravel Airports is a bundle for Laravel, providing Iata Code ISO 3166 3 and country codes for all the airports.

43.2k5PHP

Since May 29Pushed 6y ago1 watchersCompare

[ Source](https://github.com/FLAIRUK/laravel-airports)[ Packagist](https://packagist.org/packages/ijeffro/laravel-airports)[ RSS](/packages/ijeffro-laravel-airports/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Airports
================

[](#laravel-airports)

[![Latest Stable Version](https://camo.githubusercontent.com/1ac113b1864c569318f059635888cbfce2864d79645e0768225a76bef9b3bbde/68747470733a2f2f706f7365722e707567782e6f72672f696a656666726f2f6c61726176656c2d616972706f7274732f762f737461626c65)](https://packagist.org/packages/ijeffro/laravel-airports)[![Total Downloads](https://camo.githubusercontent.com/ff66505beb11c742c69ea8fae81c73946de17f00ed58bc16765b14e3d7b17121/68747470733a2f2f706f7365722e707567782e6f72672f696a656666726f2f6c61726176656c2d616972706f7274732f646f776e6c6f616473)](https://packagist.org/packages/ijeffro/laravel-airports)[![Latest Unstable Version](https://camo.githubusercontent.com/5bb9deb37ae8989d4265e8539ef3903d7d89abb5aa92adaccb66bd9647c4d9ae/68747470733a2f2f706f7365722e707567782e6f72672f696a656666726f2f6c61726176656c2d616972706f7274732f762f756e737461626c65)](https://packagist.org/packages/ijeffro/laravel-airports)[![License](https://camo.githubusercontent.com/3a4eccb79cdd9e6650f0524d1773bafac22411d9ed45e35e4543ff6d1163e228/68747470733a2f2f706f7365722e707567782e6f72672f696a656666726f2f6c61726176656c2d616972706f7274732f6c6963656e7365)](https://packagist.org/packages/ijeffro/laravel-airports)

Laravel Airports is a bundle for Laravel, providing Iata Code ISO 3166\_3 and country codes for all the airports.

**Please note that the dev-master version is for Laravel 5 only**

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

[](#installation)

Run `composer require ijeffro/laravel-airports dev-master` in your Laravel root directory to install the latest version.

Or add `ijeffro/laravel-airports` to `composer.json`.

```
"ijeffro/laravel-airports": "dev-master"

```

Run `composer update` to pull down the latest version of Airport List.

Edit `app/config/app.php` and add the `provider` and `filter`

```
'providers' => [
    ijeffro\Airports\AirportsServiceProvider::class,
]

```

Now add the alias.

```
'aliases' => [
    'Airports' => ijeffro\Airports\AirportsFacade::class,
]

```

Model
-----

[](#model)

You can start by publishing the configuration. This is an optional step, it contains the table name and does not need to be altered. If the default name `airports` suits you, leave it. Otherwise run the following command

```
$ php artisan vendor:publish

```

Next generate the migration file:

```
$ php artisan airports:migration
$ composer dump-autoload

```

It will generate the `_setup_airports_table.php` migration and the `AirportsSeeder.php` seeder. To make sure the data is seeded insert the following code in the `seeds/DatabaseSeeder.php`

```
//Seed the airports
$this->call('AirportsSeeder');
$this->command->info('Seeded the airports!');

```

You may now run it with the artisan migrate command:

```
$ php artisan migrate --seed

```

After running this command the filled airports table will be available

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 85.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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b79e7285faffd83f2215b835e6e5eeed3bdb3bb88db26a3e9eca259053bed4c8?d=identicon)[ijeffro](/maintainers/ijeffro)

---

Top Contributors

[![ijeffro](https://avatars.githubusercontent.com/u/14099877?v=4)](https://github.com/ijeffro "ijeffro (6 commits)")[![candrea85](https://avatars.githubusercontent.com/u/43012645?v=4)](https://github.com/candrea85 "candrea85 (1 commits)")

### Embed Badge

![Health badge](/badges/ijeffro-laravel-airports/health.svg)

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

###  Alternatives

[hiqdev/hidev

Automation tool mixed with code generator for easier continuous development

3229.4k28](/packages/hiqdev-hidev)[hiqdev/yii2-collection

Collection library for Yii2

1044.8k6](/packages/hiqdev-yii2-collection)

PHPackages © 2026

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