Utilities
Rust
Appwrite runs the Rust crate: the PHP extension serves the library and none of its PHP is left.
Choosing between endpoints: options with state, filters, and the First, Last, Random and RoundRobin algorithms.
Compression algorithms (Brotli, Deflate, GZIP, LZ4, Snappy, XZ, Zstd) and Accept-Encoding negotiation, byte for byte as PHP's extensions.
Detects a project's packager, runtime, framework and rendering from its file names, languages and manifests.
Translations: languages, default and fallback locales, and placeholders.
The checks of Utopia's request validators: booleans, integers, floats, numbers, ranges, ports, hex colors, text, identifiers, white lists, substrings, DNS labels, hostnames, domains, hosts, IP addresses, URLs, phone numbers, JSON, FCM service accounts, globstar patterns and the validators that compose others.
Partly Rust
Appwrite runs some of its classes from the Rust crate; the rest are still PHP.
Domain names split against the Public Suffix List.
Email addresses split, checked and made canonical per provider, and their domains classified as free or disposable.
Image previews: decode, crop by gravity or focal point, borders, rounded corners, opacity, rotation and background, then encode to JPEG, PNG, GIF, WebP or AVIF.
User-agent parsing: operating system, client, device and bot.
PHP
Written in PHP; no Rust crate yet.
Framework-independent OpenAPI 2.0, 3.0, and 3.1 parser with an immutable canonical model
A simple library to probe, encode and package video for adaptive streaming