Skip to content

List available extensions

bin/toolkit.php list:extensions <php_version>

Replace <php_version> by either 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3 or 8.4

To get list of compatible extensions for a PHP platform.

For example:

bin/toolkit.php list:extensions 8.1

that prints following output:

List available extensions for PHP 8.1
=====================================

 -------------------- -------------------------------------- ---------------------------------------------------------------------
  Name                 Description                            Website
 -------------------- -------------------------------------- ---------------------------------------------------------------------
  amqp                 The amqp PHP Extension                 https://pecl.php.net/package/amqp
  apcu                 The apcu PHP Extension                 https://pecl.php.net/package/APCu
  ast                  The ast PHP Extension                  https://pecl.php.net/package/ast
  bcmath               The bcmath PHP Extension               https://github.com/php/php-src/tree/master/ext/bcmath
  bz2                  The bz2 PHP Extension                  https://github.com/php/php-src/tree/master/ext/bz2
  calendar             The calendar PHP Extension             https://github.com/php/php-src/tree/master/ext/calendar
  dba                  The dba PHP Extension                  https://github.com/php/php-src/tree/master/ext/dba
  enchant              The enchant PHP Extension              https://github.com/php/php-src/tree/master/ext/enchant
  exif                 The exif PHP Extension                 https://github.com/php/php-src/tree/master/ext/exif
  gd                   The gd PHP Extension                   https://github.com/php/php-src/tree/master/ext/gd
  gettext              The gettext PHP Extension              https://github.com/php/php-src/tree/master/ext/gettext
  gmp                  The gmp PHP Extension                  https://github.com/php/php-src/tree/master/ext/gmp
  http                 The http PHP Extension                 https://pecl.php.net/package/pecl_http
  igbinary             The igbinary PHP Extension             https://pecl.php.net/package/igbinary
  imap                 The imap PHP Extension                 https://github.com/php/php-src/tree/master/ext/imap
  intl                 The intl PHP Extension                 https://github.com/php/php-src/tree/master/ext/intl
  ldap                 The ldap PHP Extension                 https://github.com/php/php-src/tree/master/ext/ldap
  lzf                  The lzf PHP Extension                  https://pecl.php.net/package/lzf
  mailparse            The mailparse PHP Extension            https://pecl.php.net/package/mailparse
  mcrypt               The mcrypt PHP Extension               https://pecl.php.net/package/mcrypt
  memcache             The memcache PHP Extension             https://pecl.php.net/package/memcache
  memcached            The memcached PHP Extension            https://pecl.php.net/package/memcached
  mongodb              The mongodb PHP Extension              https://pecl.php.net/package/mongodb
  msgpack              The msgpack PHP Extension              https://pecl.php.net/package/msgpack
  mysqli               The mysqli PHP Extension               https://github.com/php/php-src/tree/master/ext/mysqli
  oauth                The oauth PHP Extension                https://pecl.php.net/package/oauth
  oci8                 The oci8 PHP Extension (for PHP 8.1)   https://pecl.php.net/package/oci8
  odbc                 The odbc PHP Extension                 https://github.com/php/php-src/tree/master/ext/odbc
  opcache              The opcache PHP Extension              https://github.com/php/php-src/tree/master/Zend
  opentelemetry        The opentelemetry PHP Extension        https://github.com/open-telemetry/opentelemetry-php-instrumentation
  pcntl                The pcntl PHP Extension                https://github.com/php/php-src/tree/master/ext/pcntl
  pdo_dblib            The pdo_dblib PHP Extension            https://github.com/php/php-src/tree/master/ext/pdo_dblib
  pdo_firebird         The pdo_firebird PHP Extension         https://github.com/php/php-src/tree/master/ext/pdo_firebird
  pdo_mysql            The pdo_mysql PHP Extension            https://github.com/php/php-src/tree/master/ext/pdo_mysql
  pdo_oci              The pdo_oci PHP Extension              https://github.com/php/php-src/tree/master/ext/pdo_oci
  pdo_odbc             The pdo_odbc PHP Extension             https://github.com/php/php-src/tree/master/ext/pdo_odbc
  pdo_pgsql            The pdo_pgsql PHP Extension            https://github.com/php/php-src/tree/master/ext/pdo_pgsql
  pdo_sqlsrv           The pdo_sqlsrv PHP Extension           https://pecl.php.net/package/pdo_sqlsrv
  pgsql                The pgsql PHP Extension                https://github.com/php/php-src/tree/master/ext/pgsql
  pspell (for PHP 8)   The pspell PHP Extension               https://github.com/php/pecl-text-pspell
  raphf                The raphf PHP Extension                https://pecl.php.net/package/raphf
  rdkafka              The rdkafka PHP Extension              https://pecl.php.net/package/rdkafka
  redis                The redis PHP Extension                https://pecl.php.net/package/redis
  shmop                The shmop PHP Extension                https://github.com/php/php-src/tree/master/ext/shmop
  snmp                 The snmp PHP Extension                 https://github.com/php/php-src/tree/master/ext/snmp
  soap                 The soap PHP Extension                 https://github.com/php/php-src/tree/master/ext/soap
  sockets              The sockets PHP Extension              https://github.com/php/php-src/tree/master/ext/sockets
  solr                 The solr PHP Extension                 https://pecl.php.net/package/solr
  sqlsrv               The sqlsrv PHP Extension               https://pecl.php.net/package/sqlsrv
  ssh2                 The ssh2 PHP Extension                 https://pecl.php.net/package/ssh2
  swoole               The swoole PHP Extension               https://pecl.php.net/package/swoole
  sysvmsg              The sysvmsg PHP Extension              https://github.com/php/php-src/tree/master/ext/sysvmsg
  sysvsem              The sysvsem PHP Extension              https://github.com/php/php-src/tree/master/ext/sysvsem
  sysvshm              The sysvshm PHP Extension              https://github.com/php/php-src/tree/master/ext/sysvshm
  tidy                 The tidy PHP Extension                 https://github.com/php/php-src/tree/master/ext/tidy
  uploadprogress       The uploadprogress PHP Extension       https://pecl.php.net/package/uploadprogress
  uuid                 The uuid PHP Extension                 https://pecl.php.net/package/uuid
  vips                 The vips PHP Extension                 https://pecl.php.net/package/vips
  xdebug               The xdebug PHP Extension               https://pecl.php.net/package/xdebug
  xhprof               The xhprof PHP Extension               https://pecl.php.net/package/xhprof
  xlswriter            The xlswriter PHP Extension            https://pecl.php.net/package/xlswriter
  xmldiff              The xmldiff PHP Extension              https://pecl.php.net/package/xmldiff
  xmlrpc               The xmlrpc PHP Extension               https://pecl.php.net/package/xmlrpc
  xsl                  The xsl PHP Extension                  https://github.com/php/php-src/tree/master/ext/xsl
  yac                  The yac PHP Extension                  https://pecl.php.net/package/yac
  yaml                 The yaml PHP Extension                 https://pecl.php.net/package/yaml
  yar                  The yar PHP Extension                  https://pecl.php.net/package/yar
  zip                  The zip PHP Extension                  https://pecl.php.net/package/zip
 -------------------- -------------------------------------- ---------------------------------------------------------------------

 ! [NOTE] 68 extensions available. The pre-installed PHP extensions are excluded from this list.