PHPackages                             iansltx/flightaware-php-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. iansltx/flightaware-php-client

ActiveLibrary[API Development](/categories/api)

iansltx/flightaware-php-client
==============================

A curl-based API client for FlightAware's FlightXML v2 API

v0.2(8y ago)21.3k↓33.3%2MITPHPPHP &gt;=5.5.0

Since Jul 10Pushed 8y ago2 watchersCompare

[ Source](https://github.com/iansltx/flightaware-php-client)[ Packagist](https://packagist.org/packages/iansltx/flightaware-php-client)[ Docs](https://github.com/iansltx/flightaware-php-client)[ RSS](/packages/iansltx-flightaware-php-client/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

flightaware-php-client
======================

[](#flightaware-php-client)

This class allows for quick interaction with a (small) subset of FlightAware's FlightXML REST API. See  for more information.

Requirements
------------

[](#requirements)

1. PHP 5.5+
2. curl
3. A FlightAware API account

Installation
------------

[](#installation)

You can install this library via Composer:

```
composer require iansltx/flightaware-php-client
```

Or download the repo and require FlightAwareClient.php.

Usage
-----

[](#usage)

First, instantiate the client class as follows:

```
$faClient = new iansltx\FlightAwareClient\Client('username', 'api_key');
```

The following methods are available; all return unwrapped result arrays:

```
$inFlightInfo = $faClient->inFlightInfo($ident); // reformats waypoints with distinct latitude and longitude array keys
$flightInfoEx = $faClient->flightInfoEx($ident, $how_many, $offset);
$flightId = $faClient->getFlightId($ident, $departure_time);
$historicalTrack = $faClient->getHistoricalTrack($flight_id);
$lastTrack = $faClient->getLastTrack($ident);
$endpoint = $faClient->registerAlertEndpoint($url,$format);
$getAlertResults = $faClient->getAlerts()
$newAlertID = $faClient->setAlert($alert_id, $ident, $origin, $destination, $aircrafttype, $date_start, $date_end, $channels, $enablede, $max_weekly);
$foo = $faClient->deleteAlert($alert_id);
```

Contributing
------------

[](#contributing)

Contributions/PRs are welcomed. This code is MIT licensed.

Other Notes
-----------

[](#other-notes)

This library was originally built for use in .

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3281d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fa8d95bd3b52b4acddd5eb36c627e3aee0794115b78e7a0dd449d6212236b3fe?d=identicon)[iansltx](/maintainers/iansltx)

---

Top Contributors

[![iansltx](https://avatars.githubusercontent.com/u/472804?v=4)](https://github.com/iansltx "iansltx (4 commits)")[![Ottergoose](https://avatars.githubusercontent.com/u/508353?v=4)](https://github.com/Ottergoose "Ottergoose (2 commits)")

### Embed Badge

![Health badge](/badges/iansltx-flightaware-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/iansltx-flightaware-php-client/health.svg)](https://phpackages.com/packages/iansltx-flightaware-php-client)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
