2017 © Pedro Peláez
 

library airports

Airports for Laravel

image

lartie/airports

Airports for Laravel

  • Thursday, July 28, 2016
  • by lartie
  • Repository
  • 1 Watchers
  • 3 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Airports for Laravel 5

Latest Stable Version Total Downloads Latest Unstable Version License composer.lock, (*1)

Install

composer require lartie/airports
'providers' => [
  ...
  LArtie\Airports\AirportsServiceProvider::class,
]
php artisan vendor:publish

php artisan migrate

php artisan airports:install

Usage

$country = Country::where('name_en', 'Russia')->first();

$city = $country->cities()->first();
$city->name_en;
$city->name_ru;

$country = $city->country()->first();
$country->name_en;
$country->name_ru;
$country->iso_code;

$airport = $city->airports()->first();
$airport->gmt_offset;
$airport->iata_code;
$airport->icao_code;

$city = $airport->city()->first();

License

MIT, (*2)

The Versions

28/07 2016

dev-master

9999999-dev

Airports for Laravel

  Sources   Download

MIT

The Requires

 

laravel icao airports iata

28/07 2016

v1.2

1.2.0.0

Airports for Laravel

  Sources   Download

MIT

The Requires

 

laravel icao airports iata

27/07 2016

v1.1

1.1.0.0

Airports for Laravel

  Sources   Download

MIT

The Requires

 

laravel icao airports iata

26/07 2016

v1.0

1.0.0.0

Airports for Laravel

  Sources   Download

MIT License

The Requires

 

laravel icao airports iata