PHP code example of manacrox / laravel-airport

1. Go to this page and download the library: Download manacrox/laravel-airport library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

manacrox / laravel-airport example snippets



use WebAppId\Airport\Services\AirportService

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