Download the PHP package willemo/laravel-flightaware without Composer
On this page you can find all versions of the php package willemo/laravel-flightaware. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download willemo/laravel-flightaware
More information about willemo/laravel-flightaware
Files in willemo/laravel-flightaware
Package laravel-flightaware
Short Description Laravel service provider for the FlightAware FlightXML V3 API
License MIT
Informations about the package laravel-flightaware
Laravel FlightAware
Laravel service provider for the FlightAware FlightXML V3 API.
This project is abandoned
This project is no longer supported.
Installation
You can download this package with Composer:
After Composer is done downloading the package you'll have to add the service provider and facade to your config/app.php
file:
After this you'll have to run the command below to publish the config file:
Configuration
You can configure the package in the config/flightxml.php
file. You'll have to add your username and API key from FlightAware to your environment with the following keys:
FLIGHTXML_USERNAME
FLIGHTXML_API_KEY
Usage
You can use the FlightXML
facade to make calls to the FlightAware API. Right now the endpoints listed below are supported. The methods use the same arguments as the API reference lists. For more information about the endpoints, see the files in the docs
folder.
FlightXML::getAirportInfo($airportCode);
FlightXML::getFlightInfoStatus($ident, $options = []);
Note
Copyright of the name FlightAware, FlightXML and its API belong to FlightAware.
All versions of laravel-flightaware with dependencies
illuminate/support Version ^5.4.0
guzzlehttp/guzzle Version ~6.0
symfony/options-resolver Version ^3.3