Command Line Application

Installation

It's recommended to install Aeon CLI through phive

phive install aeon-php/cli --force-accept-unsigned

Using phive your project is free from aeon-php/cli dependencies.

It's possible to install aeon-php/cli through composer

composer require aeon-php/cli

Description

Aeon CLI application brings few simple functions that helps to work with time related issues.

  • bin/aeon calendar:ntp:time --compare - compare system timestamp with NTP server
  • bin/aeon calendar:timezonedb:version - compare timezonedb used by PHP with the one available at IANA website

All commands returns status code 0 in case of success and 1 after failure.