From a803bafbb85e3b62cf00744dd2b0481f57493276 Mon Sep 17 00:00:00 2001 From: Atharva Deosthale Date: Fri, 20 Feb 2026 17:54:50 +0530 Subject: [PATCH 1/4] feat: add cursor-plugin SDK support --- app/config/sdks.php | 19 +++ composer.json | 220 +++++++++++++-------------- composer.lock | 68 +++++---- src/Appwrite/Platform/Tasks/SDKs.php | 7 +- 4 files changed, 170 insertions(+), 144 deletions(-) diff --git a/app/config/sdks.php b/app/config/sdks.php index 1bf2725785..7b7907d183 100644 --- a/app/config/sdks.php +++ b/app/config/sdks.php @@ -289,6 +289,25 @@ return [ 'repoBranch' => 'main', 'changelog' => \realpath(__DIR__ . '/../../docs/sdks/agent-skills/CHANGELOG.md'), ], + [ + 'key' => 'cursor-plugin', + 'name' => 'CursorPlugin', + 'version' => '0.1.0', + 'url' => 'https://github.com/appwrite/cursor-plugin.git', + 'enabled' => true, + 'beta' => false, + 'dev' => false, + 'hidden' => false, + 'family' => APP_SDK_PLATFORM_CONSOLE, + 'prism' => 'cursor-plugin', + 'source' => \realpath(__DIR__ . '/../sdks/console-cursor-plugin'), + 'gitUrl' => 'git@github.com:appwrite/cursor-plugin.git', + 'gitRepoName' => 'cursor-plugin', + 'gitUserName' => 'appwrite', + 'gitBranch' => 'dev', + 'repoBranch' => 'main', + 'changelog' => \realpath(__DIR__ . '/../../docs/sdks/cursor-plugin/CHANGELOG.md'), + ], ], ], diff --git a/composer.json b/composer.json index ce55926d23..d356518651 100644 --- a/composer.json +++ b/composer.json @@ -1,113 +1,113 @@ { - "name": "appwrite/server-ce", - "description": "End to end backend server for frontend and mobile apps.", - "type": "project", - "license": "BSD-3-Clause", - "authors": [ - { - "name": "Eldad Fux", - "email": "eldad@appwrite.io" - } - ], - "scripts": { - "test": "vendor/bin/phpunit", - "lint": "vendor/bin/pint --test --config pint.json", - "format": "vendor/bin/pint --config pint.json", - "bench": "vendor/bin/phpbench run --report=benchmark", - "check": "./vendor/bin/phpstan analyse -c phpstan.neon" - }, - "autoload": { - "psr-4": { - "Appwrite\\": "src/Appwrite", - "Executor\\": "src/Executor" - } - }, - "autoload-dev": { - "psr-4": { - "Tests\\E2E\\": "tests/e2e", - "Tests\\Unit\\": "tests/unit", - "Appwrite\\Tests\\": "tests/extensions" - } - }, - "require": { - "php": ">=8.3.0", - "ext-curl": "*", - "ext-imagick": "*", - "ext-mbstring": "*", - "ext-json": "*", - "ext-yaml": "*", - "ext-dom": "*", - "ext-redis": "*", - "ext-swoole": "6.*", - "ext-pdo": "*", - "ext-openssl": "*", - "ext-zlib": "*", - "ext-sockets": "*", - "appwrite/php-runtimes": "0.19.*", - "appwrite/php-clamav": "2.0.*", - "utopia-php/abuse": "1.2.*", - "utopia-php/analytics": "0.15.*", - "utopia-php/audit": "2.2.*", - "utopia-php/auth": "0.5.*", - "utopia-php/cache": "1.0.*", - "utopia-php/cli": "0.22.*", - "utopia-php/compression": "0.1.*", - "utopia-php/config": "1.*", - "utopia-php/console": "0.1.*", - "utopia-php/database": "5.*", - "utopia-php/detector": "0.2.*", - "utopia-php/domains": "1.*", - "utopia-php/emails": "0.6.*", - "utopia-php/dns": "1.6.*", - "utopia-php/dsn": "0.2.1", - "utopia-php/framework": "0.33.*", - "utopia-php/fetch": "0.5.*", - "utopia-php/image": "0.8.*", - "utopia-php/locale": "0.8.*", - "utopia-php/logger": "0.6.*", - "utopia-php/messaging": "0.20.*", - "utopia-php/migration": "1.6.*", - "utopia-php/platform": "0.7.*", - "utopia-php/pools": "1.*", - "utopia-php/span": "1.1.*", - "utopia-php/preloader": "0.2.*", - "utopia-php/queue": "0.15.*", - "utopia-php/registry": "0.5.*", - "utopia-php/storage": "1.0.*", - "utopia-php/system": "0.10.*", - "utopia-php/telemetry": "0.2.*", - "utopia-php/vcs": "1.*", - "utopia-php/websocket": "1.0.*", - "matomo/device-detector": "6.4.*", - "dragonmantank/cron-expression": "3.4.*", - "phpmailer/phpmailer": "6.9.*", - "chillerlan/php-qrcode": "4.4.*", - "adhocore/jwt": "1.1.*", - "spomky-labs/otphp": "^11.4.2", - "webonyx/graphql-php": "14.11.*", - "league/csv": "9.24.*", - "enshrined/svg-sanitize": "0.22.*" - }, - "require-dev": { - "ext-fileinfo": "*", - "appwrite/sdk-generator": "*", - "phpunit/phpunit": "9.*", - "swoole/ide-helper": "6.*", - "phpstan/phpstan": "1.12.*", - "textalk/websocket": "1.5.*", - "laravel/pint": "1.*", - "phpbench/phpbench": "1.*" - }, - "provide": { - "ext-phpiredis": "*" - }, - "config": { - "platform": { - "php": "8.3" - }, - "allow-plugins": { - "php-http/discovery": true, - "tbachert/spi": true - } + "name": "appwrite/server-ce", + "description": "End to end backend server for frontend and mobile apps.", + "type": "project", + "license": "BSD-3-Clause", + "authors": [ + { + "name": "Eldad Fux", + "email": "eldad@appwrite.io" } + ], + "scripts": { + "test": "vendor/bin/phpunit", + "lint": "vendor/bin/pint --test --config pint.json", + "format": "vendor/bin/pint --config pint.json", + "bench": "vendor/bin/phpbench run --report=benchmark", + "check": "./vendor/bin/phpstan analyse -c phpstan.neon" + }, + "autoload": { + "psr-4": { + "Appwrite\\": "src/Appwrite", + "Executor\\": "src/Executor" + } + }, + "autoload-dev": { + "psr-4": { + "Tests\\E2E\\": "tests/e2e", + "Tests\\Unit\\": "tests/unit", + "Appwrite\\Tests\\": "tests/extensions" + } + }, + "require": { + "php": ">=8.3.0", + "ext-curl": "*", + "ext-imagick": "*", + "ext-mbstring": "*", + "ext-json": "*", + "ext-yaml": "*", + "ext-dom": "*", + "ext-redis": "*", + "ext-swoole": "6.*", + "ext-pdo": "*", + "ext-openssl": "*", + "ext-zlib": "*", + "ext-sockets": "*", + "appwrite/php-runtimes": "0.19.*", + "appwrite/php-clamav": "2.0.*", + "utopia-php/abuse": "1.2.*", + "utopia-php/analytics": "0.15.*", + "utopia-php/audit": "2.2.*", + "utopia-php/auth": "0.5.*", + "utopia-php/cache": "1.0.*", + "utopia-php/cli": "0.22.*", + "utopia-php/compression": "0.1.*", + "utopia-php/config": "1.*", + "utopia-php/console": "0.1.*", + "utopia-php/database": "5.*", + "utopia-php/detector": "0.2.*", + "utopia-php/domains": "1.*", + "utopia-php/emails": "0.6.*", + "utopia-php/dns": "1.6.*", + "utopia-php/dsn": "0.2.1", + "utopia-php/framework": "0.33.*", + "utopia-php/fetch": "0.5.*", + "utopia-php/image": "0.8.*", + "utopia-php/locale": "0.8.*", + "utopia-php/logger": "0.6.*", + "utopia-php/messaging": "0.20.*", + "utopia-php/migration": "1.6.*", + "utopia-php/platform": "0.7.*", + "utopia-php/pools": "1.*", + "utopia-php/span": "1.1.*", + "utopia-php/preloader": "0.2.*", + "utopia-php/queue": "0.15.*", + "utopia-php/registry": "0.5.*", + "utopia-php/storage": "1.0.*", + "utopia-php/system": "0.10.*", + "utopia-php/telemetry": "0.2.*", + "utopia-php/vcs": "1.*", + "utopia-php/websocket": "1.0.*", + "matomo/device-detector": "6.4.*", + "dragonmantank/cron-expression": "3.4.*", + "phpmailer/phpmailer": "6.9.*", + "chillerlan/php-qrcode": "4.4.*", + "adhocore/jwt": "1.1.*", + "spomky-labs/otphp": "^11.4.2", + "webonyx/graphql-php": "14.11.*", + "league/csv": "9.24.*", + "enshrined/svg-sanitize": "0.22.*" + }, + "require-dev": { + "ext-fileinfo": "*", + "appwrite/sdk-generator": "dev-cursor-plugin", + "phpunit/phpunit": "9.*", + "swoole/ide-helper": "6.*", + "phpstan/phpstan": "1.12.*", + "textalk/websocket": "1.5.*", + "laravel/pint": "1.*", + "phpbench/phpbench": "1.*" + }, + "provide": { + "ext-phpiredis": "*" + }, + "config": { + "platform": { + "php": "8.3" + }, + "allow-plugins": { + "php-http/discovery": true, + "tbachert/spi": true + } + } } diff --git a/composer.lock b/composer.lock index f17670f7b1..8c27931d3d 100644 --- a/composer.lock +++ b/composer.lock @@ -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": "dd9887a50fb434887461a99413007573", + "content-hash": "1bf584fe53426168b5eef638c33b2a3a", "packages": [ { "name": "adhocore/jwt", @@ -3797,16 +3797,16 @@ }, { "name": "utopia-php/database", - "version": "5.3.1", + "version": "5.3.2", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "e3305f6ca64eb5dd715e30212fd32d5d834a3a46" + "reference": "19305fc487df4f7b990350463914c1113cc6dab1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/e3305f6ca64eb5dd715e30212fd32d5d834a3a46", - "reference": "e3305f6ca64eb5dd715e30212fd32d5d834a3a46", + "url": "https://api.github.com/repos/utopia-php/database/zipball/19305fc487df4f7b990350463914c1113cc6dab1", + "reference": "19305fc487df4f7b990350463914c1113cc6dab1", "shasum": "" }, "require": { @@ -3849,22 +3849,22 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/5.3.1" + "source": "https://github.com/utopia-php/database/tree/5.3.2" }, - "time": "2026-02-18T07:15:40+00:00" + "time": "2026-02-18T11:59:15+00:00" }, { "name": "utopia-php/detector", - "version": "0.2.3", + "version": "0.2.4", "source": { "type": "git", "url": "https://github.com/utopia-php/detector.git", - "reference": "c1f49b3e82250c3256ffba48aa9737d6c17a243a" + "reference": "a564381108518ce6d18b6ab441f1448bd8355afd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/detector/zipball/c1f49b3e82250c3256ffba48aa9737d6c17a243a", - "reference": "c1f49b3e82250c3256ffba48aa9737d6c17a243a", + "url": "https://api.github.com/repos/utopia-php/detector/zipball/a564381108518ce6d18b6ab441f1448bd8355afd", + "reference": "a564381108518ce6d18b6ab441f1448bd8355afd", "shasum": "" }, "require": { @@ -3894,9 +3894,9 @@ ], "support": { "issues": "https://github.com/utopia-php/detector/issues", - "source": "https://github.com/utopia-php/detector/tree/0.2.3" + "source": "https://github.com/utopia-php/detector/tree/0.2.4" }, - "time": "2025-11-24T15:52:51+00:00" + "time": "2026-02-17T11:26:34+00:00" }, { "name": "utopia-php/di", @@ -3948,16 +3948,16 @@ }, { "name": "utopia-php/dns", - "version": "1.6.3", + "version": "1.6.5", "source": { "type": "git", "url": "https://github.com/utopia-php/dns.git", - "reference": "c46a13c42bc19365985264a6fdaaaf7d8e736d3e" + "reference": "574327f0f5fabefa7048030c5634cde33ad10640" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/dns/zipball/c46a13c42bc19365985264a6fdaaaf7d8e736d3e", - "reference": "c46a13c42bc19365985264a6fdaaaf7d8e736d3e", + "url": "https://api.github.com/repos/utopia-php/dns/zipball/574327f0f5fabefa7048030c5634cde33ad10640", + "reference": "574327f0f5fabefa7048030c5634cde33ad10640", "shasum": "" }, "require": { @@ -3999,9 +3999,9 @@ ], "support": { "issues": "https://github.com/utopia-php/dns/issues", - "source": "https://github.com/utopia-php/dns/tree/1.6.3" + "source": "https://github.com/utopia-php/dns/tree/1.6.5" }, - "time": "2026-02-17T10:45:46+00:00" + "time": "2026-02-19T16:06:46+00:00" }, { "name": "utopia-php/domains", @@ -4214,16 +4214,16 @@ }, { "name": "utopia-php/framework", - "version": "0.33.39", + "version": "0.33.40", "source": { "type": "git", "url": "https://github.com/utopia-php/http.git", - "reference": "409a258814d664d3a50fa2f48b6695679334d30b" + "reference": "0ba25e1282c6a2f849053f7ccf28d567c2c321b1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/http/zipball/409a258814d664d3a50fa2f48b6695679334d30b", - "reference": "409a258814d664d3a50fa2f48b6695679334d30b", + "url": "https://api.github.com/repos/utopia-php/http/zipball/0ba25e1282c6a2f849053f7ccf28d567c2c321b1", + "reference": "0ba25e1282c6a2f849053f7ccf28d567c2c321b1", "shasum": "" }, "require": { @@ -4257,9 +4257,9 @@ ], "support": { "issues": "https://github.com/utopia-php/http/issues", - "source": "https://github.com/utopia-php/http/tree/0.33.39" + "source": "https://github.com/utopia-php/http/tree/0.33.40" }, - "time": "2026-02-11T06:33:42+00:00" + "time": "2026-02-19T13:00:08+00:00" }, { "name": "utopia-php/image", @@ -5385,16 +5385,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "1.9.3", + "version": "dev-cursor-plugin", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "5a8a304e404c84539f3ac6562c736f8c7ef2bef2" + "reference": "dc6d1a49942286852368d28852b772420b6bacbd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/5a8a304e404c84539f3ac6562c736f8c7ef2bef2", - "reference": "5a8a304e404c84539f3ac6562c736f8c7ef2bef2", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/dc6d1a49942286852368d28852b772420b6bacbd", + "reference": "dc6d1a49942286852368d28852b772420b6bacbd", "shasum": "" }, "require": { @@ -5430,9 +5430,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/1.9.3" + "source": "https://github.com/appwrite/sdk-generator/tree/cursor-plugin" }, - "time": "2026-02-17T11:48:05+00:00" + "time": "2026-02-20T08:51:57+00:00" }, { "name": "doctrine/annotations", @@ -8885,7 +8885,9 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": { + "appwrite/sdk-generator": 20 + }, "prefer-stable": false, "prefer-lowest": false, "platform": { @@ -8909,5 +8911,5 @@ "platform-overrides": { "php": "8.3" }, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.9.0" } diff --git a/src/Appwrite/Platform/Tasks/SDKs.php b/src/Appwrite/Platform/Tasks/SDKs.php index 9020cd3208..ff030cb7dc 100644 --- a/src/Appwrite/Platform/Tasks/SDKs.php +++ b/src/Appwrite/Platform/Tasks/SDKs.php @@ -4,6 +4,7 @@ namespace Appwrite\Platform\Tasks; use Appwrite\SDK\Language\AgentSkills; use Appwrite\SDK\Language\Android; +use Appwrite\SDK\Language\CursorPlugin; use Appwrite\SDK\Language\Apple; use Appwrite\SDK\Language\CLI; use Appwrite\SDK\Language\Dart; @@ -52,7 +53,8 @@ class SDKs extends Action 'graphql', 'rest', 'markdown', - 'agent-skills' + 'agent-skills', + 'cursor-plugin' ]; public static function getName(): string @@ -294,6 +296,9 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND case 'agent-skills': $config = new AgentSkills(); break; + case 'cursor-plugin': + $config = new CursorPlugin(); + break; default: throw new \Exception('Language "' . $language['key'] . '" not supported'); } From 7737139f23dc30bef1db647b35def5a863126276 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Fri, 20 Feb 2026 17:59:33 +0530 Subject: [PATCH 2/4] composer --- composer.json | 218 +++++++++++++++++++++++++------------------------- composer.lock | 2 +- 2 files changed, 110 insertions(+), 110 deletions(-) diff --git a/composer.json b/composer.json index d356518651..744e987fa7 100644 --- a/composer.json +++ b/composer.json @@ -1,113 +1,113 @@ { - "name": "appwrite/server-ce", - "description": "End to end backend server for frontend and mobile apps.", - "type": "project", - "license": "BSD-3-Clause", - "authors": [ - { - "name": "Eldad Fux", - "email": "eldad@appwrite.io" - } - ], - "scripts": { - "test": "vendor/bin/phpunit", - "lint": "vendor/bin/pint --test --config pint.json", - "format": "vendor/bin/pint --config pint.json", - "bench": "vendor/bin/phpbench run --report=benchmark", - "check": "./vendor/bin/phpstan analyse -c phpstan.neon" - }, - "autoload": { - "psr-4": { - "Appwrite\\": "src/Appwrite", - "Executor\\": "src/Executor" - } - }, - "autoload-dev": { - "psr-4": { - "Tests\\E2E\\": "tests/e2e", - "Tests\\Unit\\": "tests/unit", - "Appwrite\\Tests\\": "tests/extensions" - } - }, - "require": { - "php": ">=8.3.0", - "ext-curl": "*", - "ext-imagick": "*", - "ext-mbstring": "*", - "ext-json": "*", - "ext-yaml": "*", - "ext-dom": "*", - "ext-redis": "*", - "ext-swoole": "6.*", - "ext-pdo": "*", - "ext-openssl": "*", - "ext-zlib": "*", - "ext-sockets": "*", - "appwrite/php-runtimes": "0.19.*", - "appwrite/php-clamav": "2.0.*", - "utopia-php/abuse": "1.2.*", - "utopia-php/analytics": "0.15.*", - "utopia-php/audit": "2.2.*", - "utopia-php/auth": "0.5.*", - "utopia-php/cache": "1.0.*", - "utopia-php/cli": "0.22.*", - "utopia-php/compression": "0.1.*", - "utopia-php/config": "1.*", - "utopia-php/console": "0.1.*", - "utopia-php/database": "5.*", - "utopia-php/detector": "0.2.*", - "utopia-php/domains": "1.*", - "utopia-php/emails": "0.6.*", - "utopia-php/dns": "1.6.*", - "utopia-php/dsn": "0.2.1", - "utopia-php/framework": "0.33.*", - "utopia-php/fetch": "0.5.*", - "utopia-php/image": "0.8.*", - "utopia-php/locale": "0.8.*", - "utopia-php/logger": "0.6.*", - "utopia-php/messaging": "0.20.*", - "utopia-php/migration": "1.6.*", - "utopia-php/platform": "0.7.*", - "utopia-php/pools": "1.*", - "utopia-php/span": "1.1.*", - "utopia-php/preloader": "0.2.*", - "utopia-php/queue": "0.15.*", - "utopia-php/registry": "0.5.*", - "utopia-php/storage": "1.0.*", - "utopia-php/system": "0.10.*", - "utopia-php/telemetry": "0.2.*", - "utopia-php/vcs": "1.*", - "utopia-php/websocket": "1.0.*", - "matomo/device-detector": "6.4.*", - "dragonmantank/cron-expression": "3.4.*", - "phpmailer/phpmailer": "6.9.*", - "chillerlan/php-qrcode": "4.4.*", - "adhocore/jwt": "1.1.*", - "spomky-labs/otphp": "^11.4.2", - "webonyx/graphql-php": "14.11.*", - "league/csv": "9.24.*", - "enshrined/svg-sanitize": "0.22.*" - }, - "require-dev": { - "ext-fileinfo": "*", - "appwrite/sdk-generator": "dev-cursor-plugin", - "phpunit/phpunit": "9.*", - "swoole/ide-helper": "6.*", - "phpstan/phpstan": "1.12.*", - "textalk/websocket": "1.5.*", - "laravel/pint": "1.*", - "phpbench/phpbench": "1.*" - }, - "provide": { - "ext-phpiredis": "*" - }, - "config": { - "platform": { - "php": "8.3" + "name": "appwrite/server-ce", + "description": "End to end backend server for frontend and mobile apps.", + "type": "project", + "license": "BSD-3-Clause", + "authors": [ + { + "name": "Eldad Fux", + "email": "eldad@appwrite.io" + } + ], + "scripts": { + "test": "vendor/bin/phpunit", + "lint": "vendor/bin/pint --test --config pint.json", + "format": "vendor/bin/pint --config pint.json", + "bench": "vendor/bin/phpbench run --report=benchmark", + "check": "./vendor/bin/phpstan analyse -c phpstan.neon" }, - "allow-plugins": { - "php-http/discovery": true, - "tbachert/spi": true + "autoload": { + "psr-4": { + "Appwrite\\": "src/Appwrite", + "Executor\\": "src/Executor" + } + }, + "autoload-dev": { + "psr-4": { + "Tests\\E2E\\": "tests/e2e", + "Tests\\Unit\\": "tests/unit", + "Appwrite\\Tests\\": "tests/extensions" + } + }, + "require": { + "php": ">=8.3.0", + "ext-curl": "*", + "ext-imagick": "*", + "ext-mbstring": "*", + "ext-json": "*", + "ext-yaml": "*", + "ext-dom": "*", + "ext-redis": "*", + "ext-swoole": "6.*", + "ext-pdo": "*", + "ext-openssl": "*", + "ext-zlib": "*", + "ext-sockets": "*", + "appwrite/php-runtimes": "0.19.*", + "appwrite/php-clamav": "2.0.*", + "utopia-php/abuse": "1.2.*", + "utopia-php/analytics": "0.15.*", + "utopia-php/audit": "2.2.*", + "utopia-php/auth": "0.5.*", + "utopia-php/cache": "1.0.*", + "utopia-php/cli": "0.22.*", + "utopia-php/compression": "0.1.*", + "utopia-php/config": "1.*", + "utopia-php/console": "0.1.*", + "utopia-php/database": "5.*", + "utopia-php/detector": "0.2.*", + "utopia-php/domains": "1.*", + "utopia-php/emails": "0.6.*", + "utopia-php/dns": "1.6.*", + "utopia-php/dsn": "0.2.1", + "utopia-php/framework": "0.33.*", + "utopia-php/fetch": "0.5.*", + "utopia-php/image": "0.8.*", + "utopia-php/locale": "0.8.*", + "utopia-php/logger": "0.6.*", + "utopia-php/messaging": "0.20.*", + "utopia-php/migration": "1.6.*", + "utopia-php/platform": "0.7.*", + "utopia-php/pools": "1.*", + "utopia-php/span": "1.1.*", + "utopia-php/preloader": "0.2.*", + "utopia-php/queue": "0.15.*", + "utopia-php/registry": "0.5.*", + "utopia-php/storage": "1.0.*", + "utopia-php/system": "0.10.*", + "utopia-php/telemetry": "0.2.*", + "utopia-php/vcs": "1.*", + "utopia-php/websocket": "1.0.*", + "matomo/device-detector": "6.4.*", + "dragonmantank/cron-expression": "3.4.*", + "phpmailer/phpmailer": "6.9.*", + "chillerlan/php-qrcode": "4.4.*", + "adhocore/jwt": "1.1.*", + "spomky-labs/otphp": "^11.4.2", + "webonyx/graphql-php": "14.11.*", + "league/csv": "9.24.*", + "enshrined/svg-sanitize": "0.22.*" + }, + "require-dev": { + "ext-fileinfo": "*", + "appwrite/sdk-generator": "dev-cursor-plugin", + "phpunit/phpunit": "9.*", + "swoole/ide-helper": "6.*", + "phpstan/phpstan": "1.12.*", + "textalk/websocket": "1.5.*", + "laravel/pint": "1.*", + "phpbench/phpbench": "1.*" + }, + "provide": { + "ext-phpiredis": "*" + }, + "config": { + "platform": { + "php": "8.3" + }, + "allow-plugins": { + "php-http/discovery": true, + "tbachert/spi": true + } } - } } diff --git a/composer.lock b/composer.lock index 8c27931d3d..cf22bc02d4 100644 --- a/composer.lock +++ b/composer.lock @@ -8911,5 +8911,5 @@ "platform-overrides": { "php": "8.3" }, - "plugin-api-version": "2.9.0" + "plugin-api-version": "2.6.0" } From 19df20de616a1454e0f7f903de31a6626d7d3ac3 Mon Sep 17 00:00:00 2001 From: Atharva Deosthale Date: Wed, 25 Feb 2026 10:18:37 +0530 Subject: [PATCH 3/4] composer --- composer.json | 2 +- composer.lock | 56 +++++++++++++++++++++++++-------------------------- 2 files changed, 28 insertions(+), 30 deletions(-) diff --git a/composer.json b/composer.json index 744e987fa7..ce55926d23 100644 --- a/composer.json +++ b/composer.json @@ -90,7 +90,7 @@ }, "require-dev": { "ext-fileinfo": "*", - "appwrite/sdk-generator": "dev-cursor-plugin", + "appwrite/sdk-generator": "*", "phpunit/phpunit": "9.*", "swoole/ide-helper": "6.*", "phpstan/phpstan": "1.12.*", diff --git a/composer.lock b/composer.lock index cf22bc02d4..2592120922 100644 --- a/composer.lock +++ b/composer.lock @@ -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": "1bf584fe53426168b5eef638c33b2a3a", + "content-hash": "dd9887a50fb434887461a99413007573", "packages": [ { "name": "adhocore/jwt", @@ -3797,16 +3797,16 @@ }, { "name": "utopia-php/database", - "version": "5.3.2", + "version": "5.3.4", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "19305fc487df4f7b990350463914c1113cc6dab1" + "reference": "ba1ee9cb2c7624d0fada782b285bd9958a07bbe5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/19305fc487df4f7b990350463914c1113cc6dab1", - "reference": "19305fc487df4f7b990350463914c1113cc6dab1", + "url": "https://api.github.com/repos/utopia-php/database/zipball/ba1ee9cb2c7624d0fada782b285bd9958a07bbe5", + "reference": "ba1ee9cb2c7624d0fada782b285bd9958a07bbe5", "shasum": "" }, "require": { @@ -3849,9 +3849,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/5.3.2" + "source": "https://github.com/utopia-php/database/tree/5.3.4" }, - "time": "2026-02-18T11:59:15+00:00" + "time": "2026-02-24T00:37:36+00:00" }, { "name": "utopia-php/detector", @@ -4737,16 +4737,16 @@ }, { "name": "utopia-php/queue", - "version": "0.15.5", + "version": "0.15.6", "source": { "type": "git", "url": "https://github.com/utopia-php/queue.git", - "reference": "aa80ffe6350efd3394615c3763dba138223a225a" + "reference": "08e361d69610f371382b344c369eef355ca414b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/queue/zipball/aa80ffe6350efd3394615c3763dba138223a225a", - "reference": "aa80ffe6350efd3394615c3763dba138223a225a", + "url": "https://api.github.com/repos/utopia-php/queue/zipball/08e361d69610f371382b344c369eef355ca414b4", + "reference": "08e361d69610f371382b344c369eef355ca414b4", "shasum": "" }, "require": { @@ -4797,9 +4797,9 @@ ], "support": { "issues": "https://github.com/utopia-php/queue/issues", - "source": "https://github.com/utopia-php/queue/tree/0.15.5" + "source": "https://github.com/utopia-php/queue/tree/0.15.6" }, - "time": "2026-02-10T12:30:46+00:00" + "time": "2026-02-23T13:03:51+00:00" }, { "name": "utopia-php/registry", @@ -4953,16 +4953,16 @@ }, { "name": "utopia-php/storage", - "version": "1.0.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/utopia-php/storage.git", - "reference": "f672e8865938e5d1d6dc3bd149ceba4e5582199e" + "reference": "f014be445f0baa635d0764e1673196f412511618" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/storage/zipball/f672e8865938e5d1d6dc3bd149ceba4e5582199e", - "reference": "f672e8865938e5d1d6dc3bd149ceba4e5582199e", + "url": "https://api.github.com/repos/utopia-php/storage/zipball/f014be445f0baa635d0764e1673196f412511618", + "reference": "f014be445f0baa635d0764e1673196f412511618", "shasum": "" }, "require": { @@ -5000,9 +5000,9 @@ ], "support": { "issues": "https://github.com/utopia-php/storage/issues", - "source": "https://github.com/utopia-php/storage/tree/1.0.0" + "source": "https://github.com/utopia-php/storage/tree/1.0.1" }, - "time": "2026-02-17T04:37:10+00:00" + "time": "2026-02-23T05:59:32+00:00" }, { "name": "utopia-php/system", @@ -5385,16 +5385,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "dev-cursor-plugin", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "dc6d1a49942286852368d28852b772420b6bacbd" + "reference": "3604b7e403bbf35ac1ce707422a19a9ed55cdc84" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/dc6d1a49942286852368d28852b772420b6bacbd", - "reference": "dc6d1a49942286852368d28852b772420b6bacbd", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/3604b7e403bbf35ac1ce707422a19a9ed55cdc84", + "reference": "3604b7e403bbf35ac1ce707422a19a9ed55cdc84", "shasum": "" }, "require": { @@ -5430,9 +5430,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/cursor-plugin" + "source": "https://github.com/appwrite/sdk-generator/tree/1.11.0" }, - "time": "2026-02-20T08:51:57+00:00" + "time": "2026-02-25T04:42:44+00:00" }, { "name": "doctrine/annotations", @@ -8885,9 +8885,7 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": { - "appwrite/sdk-generator": 20 - }, + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, "platform": { @@ -8911,5 +8909,5 @@ "platform-overrides": { "php": "8.3" }, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.9.0" } From 9ee63045130e2850ab99def32d88419b8cdd463d Mon Sep 17 00:00:00 2001 From: Atharva Deosthale Date: Wed, 25 Feb 2026 10:35:32 +0530 Subject: [PATCH 4/4] format --- src/Appwrite/Platform/Tasks/SDKs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Tasks/SDKs.php b/src/Appwrite/Platform/Tasks/SDKs.php index 197a8cd8f2..a480f4cb4f 100644 --- a/src/Appwrite/Platform/Tasks/SDKs.php +++ b/src/Appwrite/Platform/Tasks/SDKs.php @@ -4,9 +4,9 @@ namespace Appwrite\Platform\Tasks; use Appwrite\SDK\Language\AgentSkills; use Appwrite\SDK\Language\Android; -use Appwrite\SDK\Language\CursorPlugin; use Appwrite\SDK\Language\Apple; use Appwrite\SDK\Language\CLI; +use Appwrite\SDK\Language\CursorPlugin; use Appwrite\SDK\Language\Dart; use Appwrite\SDK\Language\Deno; use Appwrite\SDK\Language\DotNet;