2019-04-24 10:47:44 +02:00
|
|
|
Domain expiration
|
|
|
|
=================
|
|
|
|
|
|
|
|
Checks the expiration dates of domains.
|
|
|
|
|
|
|
|
## Installation and usage
|
|
|
|
|
2019-04-24 11:35:49 +02:00
|
|
|
PHP 7.3, [composer](https://getcomposer.org/) and `whois` required.
|
2019-04-24 10:47:44 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
$ git clone https://gitnet.fr/deblan/domain-expiration.git
|
|
|
|
$ cd domain-expiration
|
|
|
|
$ composer install
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
2019-04-25 12:42:23 +02:00
|
|
|
$ php7.3 ./domain-expiration check example.com other-example.com
|
2019-05-02 15:28:11 +02:00
|
|
|
+-------------------+------+---------------------+
|
|
|
|
| Domain | Days | Date |
|
|
|
|
+-------------------+------+---------------------+
|
|
|
|
| example.com | XX | YYYY-MM-DD HH:MM:SS |
|
|
|
|
| other-example.com | XXX | YYYY-MM-DD HH:MM:SS |
|
|
|
|
+-------------------+------+---------------------+
|
2019-04-24 10:47:44 +02:00
|
|
|
```
|
2019-05-02 15:28:11 +02:00
|
|
|
|
|
|
|
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
|