This php object will let you search and retrieve data for airports around the world. This class uses the 'Airport info' API as described on rapid API.
This is a very simple application for retrieving information such as IATA & ICAO codes as well as longtitude & latitude data for airports around the globe.
To use this
$airport = new Airport();
$airport->populateAirport("LHR");
var_dump($airport);
$airport = new Airport();
$airport->populateAirport("ATH");
var_dump($airport);