Skip to content

Extensions

  • yes: supported and tested
  • yes, untested: supported, but not tested
  • empty: not supported yet, or WIP
  • no with issue link: confirmed to be unavailable due to issue
  • partial with issue link: supported but not perfect due to issue
LinuxmacOSFreeBSDWindows
apcuyes, untestedyes, untestedyes, untestedyes, untested
bcmathyesyesyesyes
bz2yesyesyes
calendaryesyesyesyes
ctypeyesyesyesyes
curlyesyesyesyes
dbayesyesyesyes
domyesyesyes
dsyes, untestedyes, untestedyes, untestedyes, untested
enchant
eventyesyes
exifyesyesyesyes
ffinoyesyes
filteryesyesyesyes
fileinfoyesyesyesyes
ftpyesyesyesyes
gdyesyes
gettextyesyes
glfwnoyesno
gmpyesyes
iconvyesyesyes, untested
igbinaryyesyes
imagickyesyes
imapyesyes
inotifyyesno
intlyesyes
ldapyesyes
mbstringyesyesyesyes
mbregexyesyesyesyes
mcryptnonono
memcacheyes, untestedyes, untested
memcachednoyes, untested
mongodbyesno
mysqliyesyesyesyes
mysqlndyesyesyesyes
oci8nonono
opcacheyesyesyesyes
opensslyesyesyesyes
password-argon2yesyes
pcntlyesyesyesno
pdoyesyesyesyes
pdo_mysqlyesyesyesyes
pdo_sqliteyesyesyes
pdo_pgsqlyesyes
pgsqlpartialpartial
pharyesyesyesyes
posixyesyesyesno
protobufyesyes
pspell
raryespartial
rdkafka
readlineyes, untestedyes, untested
redisyesyes
sessionyesyesyesyes
shmopyesyesyesyes
simdjsonyes, untestedyes, untestedyes, untestedyes, untested
simplexmlyesyesyes
snappyyes, untestedyes, untested
soapyesyesyes
socketsyesyesyesyes
sodiumyesyes
sqlite3yesyesyes
sqlsrvyes, untestedyes, untested
ssh2yesyesyes
swowyesyes
swooleyesyesno
swoole-hook-pgsqlyespartialno
swoole-hook-mysqlyesyesno
swoole-hook-sqliteyesyesno
sysvmsgyesyesno
sysvsemyesyesno
sysvshmyesyesyes
tidyyesyes
tokenizeryesyesyesyes
uvyes, untestedyes, untested
xdebugnonono
xhprofyesyes
xlswriteryesyes
xmlyesyesyes
xmlreaderyes, untestedyes, untestedyes
xmlwriteryes, untestedyes, untestedyes
xslyes, untestedyes, untested
yacyes, untestedyes, untestedyes, untested
yamlyesyes
zipyesyes
zlibyesyesyesyes
zstdyesyes

TIP

If an extension you need is missing, you can create a Feature Request.

Some extensions or libraries that the extension depends on will have some optional features. For example, the gd library optionally supports libwebp, freetype, etc. If you only use bin/spc build gd --build-cli they will not be included (static-php-cli defaults to the minimum dependency principle).

You can use --with-libs= to add these libraries when compiling. When the dependent libraries of this compilation include them, gd will automatically use them to enable these features. (For example: bin/spc build gd --with-libs=libwebp,freetype --build-cli)

Alternatively you can use --with-suggested-exts and --with-suggested-libs to enable all optional dependencies of these extensions and libraries. (For example: bin/spc build gd --with-suggested-libs --build-cli)

If you don't know whether an extension has optional features, you can check the spc configuration file or use the command bin/spc dev:extensions (library dependency is lib-suggests, extension dependency is ext-suggests).

Released under the MIT License.