Update PHP SDK to 26

This commit is contained in:
Chirag Aggarwal committed 2026-06-17 10:09:42 +05:30
1 parent 50526e121e
commit 6f621fbc88
3 files changed
+14 -14

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@
"ext-curl": "*",
"ext-openssl": "*",
"appwrite/appwrite": "24.*",
"appwrite/appwrite": "^26.0",
"utopia-php/database": "5.*",
"utopia-php/storage": "2.*",
"utopia-php/dsn": "0.2.*",
Generated
+8 -8
View File
@@ -4,20 +4,20 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "d500f176f703c97758a1fc200f0ace55",
"content-hash": "1eab1f63068b4695ce48da1faf488c98",
"packages": [
{
"name": "appwrite/appwrite",
"version": "24.1.0",
"version": "26.0.0",
"source": {
"type": "git",
"url": "https://github.com/appwrite/sdk-for-php.git",
"reference": "dcb3550a3332de1c1665a015a09e9c73ff515e4f"
"reference": "bc26d0f0cfa4699de12d6af4df70ac0729ab7918"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/appwrite/sdk-for-php/zipball/dcb3550a3332de1c1665a015a09e9c73ff515e4f",
"reference": "dcb3550a3332de1c1665a015a09e9c73ff515e4f",
"url": "https://api.github.com/repos/appwrite/sdk-for-php/zipball/bc26d0f0cfa4699de12d6af4df70ac0729ab7918",
"reference": "bc26d0f0cfa4699de12d6af4df70ac0729ab7918",
"shasum": ""
},
"require": {
@@ -27,7 +27,7 @@
},
"require-dev": {
"mockery/mockery": "1.6.12",
"phpunit/phpunit": "^10"
"phpunit/phpunit": "^12"
},
"type": "library",
"autoload": {
@@ -43,10 +43,10 @@
"support": {
"email": "team@appwrite.io",
"issues": "https://github.com/appwrite/sdk-for-php/issues",
"source": "https://github.com/appwrite/sdk-for-php/tree/24.1.0",
"source": "https://github.com/appwrite/sdk-for-php/tree/26.0.0",
"url": "https://appwrite.io/support"
},
"time": "2026-05-20T09:37:03+00:00"
"time": "2026-06-17T04:32:07+00:00"
},
{
"name": "brick/math",
+5 -5
View File
@@ -3379,11 +3379,11 @@ class Appwrite extends Destination
case 'redirect':
$statusCode = match ($resource->getRedirectStatusCode()) {
301 => StatusCode::MOVEDPERMANENTLY301(),
302 => StatusCode::FOUND302(),
307 => StatusCode::TEMPORARYREDIRECT307(),
308 => StatusCode::PERMANENTREDIRECT308(),
default => StatusCode::MOVEDPERMANENTLY301(),
301 => StatusCode::MOVEDPERMANENTLY(),
302 => StatusCode::FOUND(),
307 => StatusCode::TEMPORARYREDIRECT(),
308 => StatusCode::PERMANENTREDIRECT(),
default => StatusCode::MOVEDPERMANENTLY(),
};
$resourceType = $deploymentResourceType === 'site'