PHPackages                             mihaichris/air-quality - 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. mihaichris/air-quality

ActiveLibrary[API Development](/categories/api)

mihaichris/air-quality
======================

🍃 Air Quality API

v0.5.0(2y ago)13501MITPHPPHP ^8.2

Since May 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mihaichris/air-quality)[ Packagist](https://packagist.org/packages/mihaichris/air-quality)[ RSS](/packages/mihaichris-air-quality/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (7)Versions (7)Used By (1)

🍃 Air Quality API
=================

[](#-air-quality-api)

 [![Air Quality](./docs/cover.png)](./docs/cover.png)

 [![GitHub Workflow Status (master)](https://github.com/mihaichris/air-quality/actions/workflows/tests.yml/badge.svg)](https://github.com/mihaichris/air-quality/actions) [![Codecov](https://camo.githubusercontent.com/593cf724ce27062882fbeb9d6622b16a0f1956accb7d6d92db4e0cec9228e465/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6d6968616963687269732f6169722d7175616c6974793f636f6c6f723d253233464330313737266c6162656c3d436f6465636f76)](https://app.codecov.io/gh/mihaichris/air-quality) [![Open Issues](https://camo.githubusercontent.com/ad7ccae62fb2ebfa36785b478ea47ae332814383d01193257f929b9a55c15795/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6d6968616963687269732f6169722d7175616c697479)](https://github.com/mihaichris/air-quality/issues)

Description
===========

[](#description)

Air-quality allows you to retrieve the values for different pollutants and pollen from a region based on specific coordinates 🍃. The library is powered by [OpenMeteo](https://open-meteo.com/en/docs/air-quality-api) air quality API.

🚀 Installation
==============

[](#-installation)

```
$ composer require mihaichris/air-quality
```

Basic Usage
===========

[](#basic-usage)

```
use Air\Quality\AirQuality;

//Getting the air quality from Bucharest.
$airQuality = new AirQuality(44.43, 26.11);

//Get the air quality now.
$airQuality->getNow();

//Get the air quality in the past days.
$airQuality->getPast(2);

//Get the air quality between specific dates.
$airQuality->getBetweenDates('2023-01-01', '2023-02-01');
```

👨‍💻 Author
==========

[](#‍-author)

Mihai-Cristian Făgădău

- Github: [@mihaichris](https://github.com/mihaichris)
- LinkedIn: [in/mihai-fagadau](https://www.linkedin.com/in/mihai-fagadau/)
- Website: [mihaifagadau.dev](https://mihaifagadau.dev)

🤝 Contributing
==============

[](#-contributing)

Contributing details can be found at [here](./CONTRIBUTING.md).

📝 License
=========

[](#-license)

This project is [MIT](https://opensource.org/licenses/MIT) licensed.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

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 ~17 days

Total

6

Last Release

1017d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1e1341f1da21917167fad9ae5db070d50b7ddecca73e32f39bef3da1bbf47942?d=identicon)[mihaichris](/maintainers/mihaichris)

---

Top Contributors

[![mihaichris](https://avatars.githubusercontent.com/u/48624094?v=4)](https://github.com/mihaichris "mihaichris (116 commits)")

---

Tags

phpapipackagequalityair

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mihaichris-air-quality/health.svg)

```
[![Health](https://phpackages.com/badges/mihaichris-air-quality/health.svg)](https://phpackages.com/packages/mihaichris-air-quality)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)[joisarjignesh/bigbluebutton

BigBlueButton Server API Library for Laravel

162145.5k1](/packages/joisarjignesh-bigbluebutton)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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