PHPackages                             avantar/luft - 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. avantar/luft

ActiveLibrary[API Development](/categories/api)

avantar/luft
============

PHP Airly Client

v1.0.1(6y ago)18MITPHPPHP &gt;=7.3.0CI failing

Since Dec 13Pushed 5y ago1 watchersCompare

[ Source](https://github.com/AvantaR/luft)[ Packagist](https://packagist.org/packages/avantar/luft)[ RSS](/packages/avantar-luft/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (2)Dependencies (6)Versions (3)Used By (0)

luft
====

[](#luft)

Airly PHP API client.

[![Packagist Version](https://camo.githubusercontent.com/e06e9a50e87b644ec16aa4b683ae429551b75d27ef7dde4747f3aa2916e45f4c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6176616e7461722f6c756674)](https://camo.githubusercontent.com/e06e9a50e87b644ec16aa4b683ae429551b75d27ef7dde4747f3aa2916e45f4c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6176616e7461722f6c756674)[![](https://github.com/avantar/luft/workflows/build/badge.svg)](https://github.com/avantar/luft/workflows/build/badge.svg)[![codecov](https://camo.githubusercontent.com/45d8ae2d857c5b197c6a358a2d014cbdd723620b4d9030344a1386be1a320c09/68747470733a2f2f636f6465636f762e696f2f67682f4176616e7461522f6c7566742f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/AvantaR/luft)[![Maintainability](https://camo.githubusercontent.com/4c866d9e4ee8fe7e530b8fdf5ab213a7df83cf83655df153531f7c37edfb005d/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f64396537333430313665643966666539633362332f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/AvantaR/luft/maintainability)

How to use
----------

[](#how-to-use)

#### Create new instance of Luft library:

[](#create-new-instance-of-luft-library)

To use Luft library You need to create new instance of Client class and pass API key in its constructor.

```
$luft = new Client($apiKey);

```

`$apiKey` variable is your private api key provided by Airly ().

#### Changing language

[](#changing-language)

You can change default language of API responses. Airly API currently supports only two languages – English (en - and it's default option) and Polish (pl). To change language use `setLanguage()` method.

```
$luft->setLanguage('pl');

```

#### Coordinates

[](#coordinates)

All coordinates used in Airly API **MUST** be accorded to **WGS 84 standard**.

#### Available methods

[](#available-methods)

**getInstallationsNearest** – gets installations available in given range from selected point.

Required params:

- float $latitude
- float $longitude

Optional params

- float $maxDistanceKM
- int $maxResults

```
getInstallationsNearest(float $latitude, float $longitude [,float $maxDistanceKM, int $maxResults]): array

```

It should return array of `Installation` objects.

### Available objects

[](#available-objects)

#### Installation

[](#installation)

Available methods:

- getId(): int
- getLocation(): Coordinates
- getAddress(): Address
- getElevation(): float
- getAirly(): boolean
- getSponsor(): Sponsor

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Every ~3 days

Total

2

Last Release

2344d ago

### Community

Maintainers

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

---

Top Contributors

[![AvantaR](https://avatars.githubusercontent.com/u/1866378?v=4)](https://github.com/AvantaR "AvantaR (36 commits)")

---

Tags

airlyairly-apiphpphp7

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/avantar-luft/health.svg)

```
[![Health](https://phpackages.com/badges/avantar-luft/health.svg)](https://phpackages.com/packages/avantar-luft)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[googleads/googleads-php-lib

Google Ad Manager SOAP API Client Library for PHP

67410.3M25](/packages/googleads-googleads-php-lib)[api-platform/symfony

Symfony API Platform integration

323.2M67](/packages/api-platform-symfony)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

50570.7k1](/packages/web-auth-webauthn-framework)[api-platform/serializer

API Platform core Serializer

223.4M31](/packages/api-platform-serializer)

PHPackages © 2026

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