Looking to hire Laravel developers? Try LaraJobs

laravel-airport maintained by manacrox

Description
Laravel airport package
Last update
2020/08/31 22:50 (dev-master)
License
Links
Downloads
7

Comments
comments powered by Disqus

Airport package for laravel

the data from this package based on https://openflights.org/data.html#airport

how to install:

  1. install via composer composer require manacrox/laravel-airport
  2. seeding the data manacrox:airport:seed

example get airport by country :

<?php
use WebAppId\Airport\Services\AirportService

class ExampleAirport{
   public function getAirPort(AirportService $airportService, Container $container){
      $result = $container->call([$airportService, 'getAllAirportByCountry'], ['countryCode' => '[country_code]']);
   }
}