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.1k↓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 1mo 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 54% 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

3235d 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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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