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

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

ijeffro/laravel-airlines
========================

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

38.3k↓81.3%4[2 issues](https://github.com/FLAIRUK/laravel-airlines/issues)PHP

Since Jan 16Pushed 1y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Airlines
================

[](#laravel-airlines)

[![Latest Stable Version](https://camo.githubusercontent.com/81f06c98e72ca38f5e896a25b46382981e3da90b1d438e5d4f9911c80c0c1f63/68747470733a2f2f706f7365722e707567782e6f72672f696a656666726f2f6c61726176656c2d6169726c696e65732f762f737461626c65)](https://packagist.org/packages/ijeffro/laravel-airlines)[![Total Downloads](https://camo.githubusercontent.com/8ed5de491e314e1d4d6cb9a209b3d879a7b016edbba49c51973cfdcff40217d6/68747470733a2f2f706f7365722e707567782e6f72672f696a656666726f2f6c61726176656c2d6169726c696e65732f646f776e6c6f616473)](https://packagist.org/packages/ijeffro/laravel-airlines)[![Latest Unstable Version](https://camo.githubusercontent.com/eefadc7c0a4e8da00d6b5c70620a7be757c874f75c813e7ef2831e86adefb5ae/68747470733a2f2f706f7365722e707567782e6f72672f696a656666726f2f6c61726176656c2d6169726c696e65732f762f756e737461626c65)](https://packagist.org/packages/ijeffro/laravel-airlines)[![License](https://camo.githubusercontent.com/5aabe1def7768039573f1472e19bb59e2f58771d91cad3be5fbd023ab0079a57/68747470733a2f2f706f7365722e707567782e6f72672f696a656666726f2f6c61726176656c2d6169726c696e65732f6c6963656e7365)](https://packagist.org/packages/ijeffro/laravel-airlines)

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

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

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

[](#installation)

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

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

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

```

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

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

```
'providers' => [
    ijeffro\Airlines\AirlinesServiceProvider::class,
]

```

Now add the alias.

```
'aliases' => [
    'Airlines' => ijeffro\Airlines\AirlinesFacade::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 `airlines` suits you, leave it. Otherwise run the following command

```
$ php artisan vendor:publish

```

Next generate the migration file:

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

```

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

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

```

You may now run it with the artisan migrate command:

```
$ php artisan migrate --seed

```

After running this command the filled airlines table will be available

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity16

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.

### 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 (8 commits)")

### Embed Badge

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

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

###  Alternatives

[irfa/php-gatcha

Simple Items Gatcha with PHP

362.4k](/packages/irfa-php-gatcha)

PHPackages © 2026

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