mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
fix(deps): require PHP >=8.2 and fix composer config.platform
appwrite/appwrite 23.x (via SDK 22.0.0) requires PHP >=8.2.0, but this lib's require.php was >=8.1 — composer install would fail on PHP 8.1 consumers. The previous top-level 'platform' key was silently ignored by Composer (must live under 'config.platform'), which hid the inconsistency locally. Move it under 'config.platform' and bump to 8.2 to match the require constraint.
This commit is contained in:
1 parent
4dc7270849
commit
447a98706d
2 files changed
+16
-12
No files matched your search
+5
-4
@@ -22,9 +22,10 @@
|
||||
"check": "./vendor/bin/phpstan analyse --level 3 src tests --memory-limit 2G"
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.1",
|
||||
"php": ">=8.2",
|
||||
"ext-curl": "*",
|
||||
"ext-openssl": "*",
|
||||
|
||||
"appwrite/appwrite": "23.*",
|
||||
"utopia-php/database": "5.*",
|
||||
"utopia-php/storage": "2.*",
|
||||
@@ -38,10 +39,10 @@
|
||||
"laravel/pint": "1.*",
|
||||
"phpstan/phpstan": "1.*"
|
||||
},
|
||||
"platform": {
|
||||
"php": "8.1"
|
||||
},
|
||||
"config": {
|
||||
"platform": {
|
||||
"php": "8.2"
|
||||
},
|
||||
"allow-plugins": {
|
||||
"php-http/discovery": true,
|
||||
"tbachert/spi": true
|
||||
|
||||
Generated
+11
-8
@@ -4,7 +4,7 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "577cd7fb43f3f832869661126e0a5090",
|
||||
"content-hash": "b437ef18d3106e157d1d9363962137a4",
|
||||
"packages": [
|
||||
{
|
||||
"name": "appwrite/appwrite",
|
||||
@@ -2138,16 +2138,16 @@
|
||||
},
|
||||
{
|
||||
"name": "utopia-php/cache",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/utopia-php/cache.git",
|
||||
"reference": "05ceba981436a4022553f7aaa2a05fa049d0f71c"
|
||||
"reference": "d36f9050c39c02e09a7763389c9e71258e74af1f"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/utopia-php/cache/zipball/05ceba981436a4022553f7aaa2a05fa049d0f71c",
|
||||
"reference": "05ceba981436a4022553f7aaa2a05fa049d0f71c",
|
||||
"url": "https://api.github.com/repos/utopia-php/cache/zipball/d36f9050c39c02e09a7763389c9e71258e74af1f",
|
||||
"reference": "d36f9050c39c02e09a7763389c9e71258e74af1f",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -2184,9 +2184,9 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/utopia-php/cache/issues",
|
||||
"source": "https://github.com/utopia-php/cache/tree/1.0.1"
|
||||
"source": "https://github.com/utopia-php/cache/tree/1.0.2"
|
||||
},
|
||||
"time": "2026-03-12T03:39:09+00:00"
|
||||
"time": "2026-05-08T11:40:20+00:00"
|
||||
},
|
||||
{
|
||||
"name": "utopia-php/console",
|
||||
@@ -4964,12 +4964,15 @@
|
||||
"prefer-stable": false,
|
||||
"prefer-lowest": false,
|
||||
"platform": {
|
||||
"php": ">=8.1",
|
||||
"php": ">=8.2",
|
||||
"ext-curl": "*",
|
||||
"ext-openssl": "*"
|
||||
},
|
||||
"platform-dev": {
|
||||
"ext-pdo": "*"
|
||||
},
|
||||
"platform-overrides": {
|
||||
"php": "8.2"
|
||||
},
|
||||
"plugin-api-version": "2.9.0"
|
||||
}
|
||||
Reference in new issue
Block a user