You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 859B

Domain expiration

Checks the expiration dates of domains.

Installation and usage

PHP 7.3, composer and whois required.

$ git clone https://gitnet.fr/deblan/domain-expiration.git
$ cd domain-expiration
$ composer install
$ php7.3 ./domain-expiration check example.com other-example.com
+-------------------+------+---------------------+
| Domain            | Days | Date                |
+-------------------+------+---------------------+
| example.com       | XX   | YYYY-MM-DD HH:MM:SS |
| other-example.com | XXX  | YYYY-MM-DD HH:MM:SS |
+-------------------+------+---------------------+

You are able specify output options:

  • --table (-t): output is a table (default)
    • --short (-s): removes borders
    • --no-header: removes headers
  • --json (-j): output is a json