- Languages
- PHP
PHP
Lade officially supports deploying PHP applications.
Supported Versions
The following PHP versions are supported and receive security updates:
- 8.4
- 8.3
- 8.2
- 8.1
Supported Package Managers
The following package managers are supported:
PHP App Detection
Lade detects your app as a PHP app if a composer.json or index.php file is present in the root directory.
Specifying a PHP Version
You can specify the PHP version in your composer.json file:
{
"require": {
"php": "8.1"
}
}
PHP Extensions
You can specify the required PHP extensions in your composer.json file:
{
"require": {
"ext-imap": "*",
"ext-redis": "*"
}
}
Installed Extensions
The following extensions are enabled by default on supported PHP versions:
- cURL (
curl) - FTP (
ftp) - Multibyte String (
mbstring) - OpenSSL (
openssl) - Readline (
readline) - Sodium (
sodium) - SQLite3 (
sqlite3) - SQLite (PDO) (
pdo_sqlite) - Zlib (
zlib)
Available Extensions
The following extensions will be enabled if required in your composer.json file:
- AMQP (
amqp) - APCu (
apcu) - Bzip2 (
bz2) - DBA (
dba) - Enchant (
enchant) - Exif (
exif) - Fileinfo (
fileinfo) - Firebird (PDO) (
pdo_firebird) - GD (
gd) - Gettext (
gettext) - GMP (
gmp) - Igbinary (
igbinary) - ImageMagick (
imagick) - IMAP (
imap) - Intl (
intl) - Kafka (
rdkafka) - LDAP (
ldap) - LZF (
lzf) - Mailparse (
mailparse) - MaxMindDB (
maxminddb) - Mcrypt (
mcrypt) - Memcached (
memcached) - MongoDB (
mongodb) - MessagePack (
msgpack) - MySQLi (
mysqli) - MySQL (PDO) (
pdo_mysql) - OAuth (
oauth) - ODBC (PDO) (
pdo_odbc) - PCNTL (
pcntl) - PostgreSQL (
pgsql) - PostgreSQL (PDO) (
pdo_pgsql) - Protobuf (
protobuf) - Pspell (
pspell) - PSR (
psr) - Redis (
redis) - Semaphore (
sysvmsg,sysvsem,sysvshm) - Shared Memory (
shmop) - SNMP (
snmp) - SOAP (
soap) - Sockets (
sockets) - Solr (
solr) - Stomp (
stomp) - Tidy (
tidy) - XSL (
xsl) - YAF (
yaf) - YAML (
yaml) - Zip (
zip)