dominicwatts/environmentcheck

CLI script to check Magento 2 php and environment settings ready for install or deployment

Installs: 4 493

Dependents: 1

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 2

Open Issues: 0

Type:magento2-module

1.1.1 2021-08-24 23:05 UTC

This package is auto-updated.

Last update: 2024-10-25 06:28:33 UTC


README

phpcs

PHPCompatibility

PHPStan

php-cs-fixer

CLI script to check php and environment settings

Install instructions

composer require dominicwatts/environmentcheck

php bin/magento setup:upgrade

Usage instructions

Run console command

xigen:check:platform [-t|--type TYPE] [--]

php/bin magento xigen:check:platform

Verbose output

php/bin magento xigen:check:platform -v

php/bin magento xigen:check:platform -t installer

php/bin magento xigen:check:platform -t updater

Example Output

bin/magento xigen:check:platform
[2020-06-06 09:13:52] Start
26/26 [============================] 100% < 1 sec 70.2 MiB      | Missing : None
+---------------+------------------------------------------------------------------------------+
| Test          | Result                                                                       |
+---------------+------------------------------------------------------------------------------+
| PHP Memory    | Requirements met                                                             |
| PHP Version   | Required : ~7.1.3||~7.2.0                                                    |
| PHP Version   | Current : 7.2.23                                                             |
| PHP Extension | Required : iconv                                                             |
| PHP Extension | Required : mbstring                                                          |
| PHP Extension | Required : curl                                                              |
| PHP Extension | Required : dom                                                               |
| PHP Extension | Required : hash                                                              |
| PHP Extension | Required : openssl                                                           |
| PHP Extension | Required : xmlwriter                                                         |
| PHP Extension | Required : pcre                                                              |
| PHP Extension | Required : json                                                              |
| PHP Extension | Required : gd                                                                |
| PHP Extension | Required : bcmath                                                            |
| PHP Extension | Required : simplexml                                                         |
| PHP Extension | Required : spl                                                               |
| PHP Extension | Required : xsl                                                               |
| PHP Extension | Required : intl                                                              |
| PHP Extension | Required : ctype                                                             |
| PHP Extension | Required : pdo_mysql                                                         |
| PHP Extension | Required : soap                                                              |
| PHP Extension | Required : zip                                                               |
| PHP Extension | Required : libxml                                                            |
| PHP Extension | Required : phar                                                              |
| PHP Extension | Missing : None                                                               |
| PHP Setting   | Update : You must have installed GD library with --with-jpeg-dir=DIR option. |
| Permissions   | Missing : None                                                               |
+---------------+------------------------------------------------------------------------------+

[2020-06-06 09:13:52] Finish