summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-03-03 07:09:52 +0100
committerRemi Collet <remi@php.net>2026-03-03 07:09:52 +0100
commit3c66f6be484daa0e822a48726c3231bfe8b094a2 (patch)
tree410f3ee281970abcdc0ccf6962cf1d57ce3cc7c2 /composer.json
parent70e3711066e47dc025e774d4d844851c31612be1 (diff)
update to 6.2.0RC2HEADmaster
drop patch merged upstream
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json44
1 files changed, 36 insertions, 8 deletions
diff --git a/composer.json b/composer.json
index b242145..f301f3d 100644
--- a/composer.json
+++ b/composer.json
@@ -4,7 +4,16 @@
"license": "Apache-2.0",
"description": "Swoole is an event-driven, asynchronous, coroutine-based concurrency library with high performance for PHP.",
"require": {
- "php": ">=8.1 <8.5"
+ "php": ">=8.2 <8.6",
+ "ext-pdo": "*"
+ },
+ "suggest": {
+ "ext-pdo_mysql": "PDO_MYSQL is required for Swoole to work with MySQL",
+ "ext-pdo_pgsql": "PDO_PGSQL is required for Swoole to work with PostgreSQL",
+ "ext-curl": "CURL is required for Swoole to work with HTTP",
+ "ext-sockets": "Sockets is required for Swoole to work with Socket",
+ "ext-openssl": "OpenSSL is required for Swoole to work with HTTPS",
+ "ext-posix": "*"
},
"php-ext": {
"extension-name": "swoole",
@@ -14,12 +23,8 @@
"description": "Enable sockets support"
},
{
- "name": "enable-openssl",
- "description": "Enable openssl support"
- },
- {
"name": "with-openssl-dir",
- "description": "Include OpenSSL support (requires OpenSSL >= 1.0.2)",
+ "description": "Specify openssl installation directory (requires OpenSSL 1.1.0 or later)?",
"needs-value": true
},
{
@@ -40,7 +45,7 @@
},
{
"name": "with-brotli-dir",
- "description": "Include Brotli support",
+ "description": "Specify brotli installation directory?",
"needs-value": true
},
{
@@ -62,6 +67,11 @@
"description": "Enable Sqlite database support"
},
{
+ "name": "with-swoole-firebird",
+ "description": "Enable Firebird database support",
+ "needs-value": true
+ },
+ {
"name": "enable-swoole-thread",
"description": "Enable swoole thread support (need php zts support)"
},
@@ -70,8 +80,26 @@
"description": "Enable iouring for file async support"
},
{
+ "name": "with-liburing-dir",
+ "description": "Specify liburing installation directory (requires liburing 2.8 or later)",
+ "needs-value": true
+ },
+ {
+ "name": "enable-uring-socket",
+ "description": "Enable iouring for http coroutine server support"
+ },
+ {
+ "name": "with-swoole-ssh2",
+ "description": "Enable async ssh2 client support",
+ "needs-value": true
+ },
+ {
+ "name": "enable-swoole-ftp",
+ "description": "Enable async ssh2 client support"
+ },
+ {
"name": "enable-zstd",
- "description": "Enable zstd support"
+ "description": "Enable zstd support (requires zstd 1.4.0 or later)"
}
]
}