This is your go-to for building server-side PHP apps with Appwrite's backend services. It covers the full stack: user management, database CRUD with the newer TablesDB service, file storage, teams, and serverless functions. The examples are practical and include the nuances that matter, like preferring named arguments over positional ones, understanding varchar versus text column types for row size optimization, and setting up dual-client patterns for SSR auth in Laravel or Symfony. If you're working with Appwrite in PHP and need more than just the basics, this gives you the patterns and query methods to hit the ground running.

skills.sh installs
195
GitHub stars
20
last updated
Jun 3, 2026

Install

$ npx -y skills add appwrite/agent-skills --skill appwrite-php --agent claude-code

Installs into .claude/skills of the current project.

Files

Appwrite PHP SDK

Installation

composer require appwrite/appwrite

Setting Up the Client

use Appwrite\Client;
use Appwrite\ID;
use Appwrite\Query;
use Appwrite\Services\Users;
use Appwrite\Services\TablesDB;
use Appwrite\Services\Storage;
use Appwrite\Services\Functions;
use Appwrite\InputFile;

$client = (new Client())
    ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
    ->setProject(getenv('APPWRITE_PROJECT_ID'))
    ->setKey(getenv('APPWRITE_API_KEY'));

Code Examples

User Management

$users = new Users($client);

// Create user
$user = $users->create(ID::unique(), 'user@example.com', null, 'password123', 'User Name');

// List users
$list = $users->list([Query::limit(25)]);

// Get user
$fetched = $users->get('[USER_ID]');

// Delete user
$users->delete('[USER_ID]');

Database Operations

Sponsors

Details

Repository
github.com/appwrite/agent-skills
Categories
AI & Agent Building, PHP & Laravel
First seen
Jun 3, 2026

More from appwrite/agent-skills

All 10
1az9713 avatarvoice-dna-creatoraz9713/ai-co-writing-claude-skillsAnalyze writing samples to create a comprehensive voice DNA profile. Use when the user wants to capture their unique writing voice, needs to create a voice prof195skills.sh installs
2jwilger avatartddjwilger/agent-skillsUse this skill whenever the user wants to write code using TDD, test-driven development, or test-first methodology. Triggers on: "/tdd", "let's do TDD", "write 195skills.sh installs
3muratcankoylan avatarlatent-briefingmuratcankoylan/agent-skills-for-context-engineeringIf you're running orchestrator-worker agent systems and watching token costs compound as the orchestrator's trajectory gets replayed to...195skills.sh installs
4odyssey4me avatargoogle-slidesodyssey4me/agent-skillsMarkdown-driven presentation builder with Google Slides upload. Write Markdown, build .pptx locally, review in LibreOffice, upload to Google Slides.195skills.sh installs
5agntswrm avataraudio-transcribeagntswrm/agent-mediaTranscribes audio to text with timestamps and optional speaker identification. Use when you need to convert speech to text, create subtitles, transcribe meeting194skills.sh installs
6arpitg1304 avatarrobotics-software-principlesarpitg1304/robotics-agent-skills>194skills.sh installs