Go to file
Simon Vieille d660c94d38
add output options and days until expiry
2019-05-02 15:28:11 +02:00
src/Deblan add output options and days until expiry 2019-05-02 15:28:11 +02:00
.gitignore init 2019-04-24 10:47:44 +02:00
README.md add output options and days until expiry 2019-05-02 15:28:11 +02:00
composer.json add Process component 2019-04-24 12:26:25 +02:00
domain-expiration init 2019-04-24 10:47:44 +02:00

README.md

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