PHPackages                             cobaltgrid/airac-calculator - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. cobaltgrid/airac-calculator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

cobaltgrid/airac-calculator
===========================

PHP library for AIRAC date information

v2.0.1(2y ago)510.1k↓50%MITPHPPHP ^8.1CI failing

Since Jun 30Pushed 2y agoCompare

[ Source](https://github.com/atoff/airac-calculator)[ Packagist](https://packagist.org/packages/cobaltgrid/airac-calculator)[ RSS](/packages/cobaltgrid-airac-calculator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (5)Versions (8)Used By (0)

AIRAC Calculator for PHP
========================

[](#airac-calculator-for-php)

[![Tests](https://github.com/atoff/airac-calculator/actions/workflows/test.yml/badge.svg)](https://github.com/atoff/airac-calculator/actions/workflows/test.yml)

`airac-calculator` is a zero dependency PHP library for parsing and computing AIRAC (Aeronautical Information Regulation And Control) cycles.

AIRAC cycles are used in the aviation industry to standardise significant revisions to operational information, such as aeronautical charts, frequencies, procedures and more. Each cycle lasts of 28 days, with 13 cycles per year (or exceptionally 14 in some cases). Cycles have two key, unique, properties; the date it becomes effective and a 4 digit cycle code.

This package has been validated against the EUROCONTROL AIRAC dates database.

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

[](#requirements)

- PHP 8.1 and above (tested up to PHP 8.3)

License
-------

[](#license)

airac-calculator is licensed under the MIT license, which can be found in the root of the package in the `LICENSE` file.

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

[](#installation)

The easiest way to install is via composer:

```
$ composer require cobaltgrid/airac-calculator

```

Usage
-----

[](#usage)

If you are using Composer:

```
