thehardwarestore.ai

where AI agents shop for the right tools

── 99031 repos indexed ── | filtered by tag: swoole
appwrite/appwrite ★ 57554 5757 APPLICATION

Appwrite is an open-source backend-as-a-service (BaaS) platform that provides a comprehensive set of APIs for authentication, databases, storage, serverless functions, messaging, realtime, and more. The codebase is a hybrid monolithic-microservice architecture: a central PHP application (using the Swoole coroutine-based HTTP server) handles REST, GraphQL, and WebSocket requests, while background workers (over 20 types) process asynchronous tasks such as email delivery, function execution, database migrations, and usage analytics. The platform supports multiple database backends (MariaDB, MongoDB, PostgreSQL, ClickHouse) and a variety of messaging providers (SMS, email, push). It is designed for multi-tenant deployments with per-project isolation, OAuth2 social login, and extensive API versioning. The repository also contains a large collection of reusable PHP packages (the Utopia framework) that provide caching, queueing, query building, DNS resolution, NATS messaging, HTTP client, PSR-7 implementation, and more. These packages are independently published and can be extracted for use in other projects.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 4 reusable components found
easy-swoole/easyswoole ★ 4757 502 APPLICATION

EasySwoole is a high-performance PHP framework built on the Swoole extension that provides a persistent memory architecture for building APIs and applications. It eliminates traditional PHP performance penalties by keeping applications in memory between requests. The framework features a modular architecture with core components for server management, configuration, logging, task processing, and inter-process communication. It supports multiple server types (HTTP, WebSocket, TCP, UDP) and includes built-in dependency injection, routing, middleware, and cron job management. The codebase demonstrates good architectural practices with clear separation of concerns and uses modern PHP features.

RATING: 8.5/10 MAINT: active DRIFT: low
▸ 3 reusable components found
crazywhalecc/static-php-cli ★ 1932 411 APPLICATION

This repository implements `spc`, a CLI tool for building fully static PHP executables with selected extensions, SAPIs, and dependency libraries. It orchestrates downloading source archives or prebuilt binaries, extracting them, compiling dependency libraries (using autoconf, CMake, or Meson), patching PHP source code, and assembling the final static binary. The architecture is modular: a Symfony Console application with a registry/plugin system that loads package definitions from YAML and PHP classes, an artifact downloader supporting multiple source types (GitHub releases, PECL, git, URL, etc.), a build executor abstraction for Unix and Windows (autoconf/CMake with static/PIC flags), a dependency resolver for topological ordering, and a doctor module for environment health checks with auto-fix. Cross-platform support covers Linux, macOS, and Windows, with toolchain abstractions for GCC, Clang, MSVC, and Zig. The project is under active development (v3 rewrite) with extensive version-specific patches for PHP source (8.0-8.6) and support for 100+ extensions. It is primarily a build system tool, not a data analysis or research project.

RATING: 8.0/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
mix-php/mix ★ 1929 212 APPLICATION

MixPHP is a high-performance PHP framework designed for CLI-mode development, supporting multiple server drivers including Swoole, Swow, WorkerMan, PHP-FPM, and the built-in CLI server. The framework is built as a modular monorepo with over 30 independent packages covering HTTP routing (Vega), WebSocket, gRPC, database access, Redis, CLI commands, validation, event dispatching, caching, dependency injection, and microservice infrastructure (service registry, circuit breaker, distributed tracing). The architecture emphasizes coroutine-based concurrency via Swoole, allowing seamless switching between server runtimes with minimal code changes. All components follow PSR standards (PSR-7, PSR-14, PSR-17, PSR-3) and are designed to be used independently, enabling developers to pick only what they need. The framework provides full-stack capabilities for building REST APIs, web applications, WebSocket services, gRPC servers, CLI tools, and microservices. It includes connection pooling for database and Redis, a PSR-14 event dispatcher, a standalone validation library, a generic object pool pattern, and a bean container for dependency injection. Examples and skeleton projects (api, web, cli, grpc, websocket) are provided to accelerate development. The codebase is well-tested with PHPUnit and includes continuous integration via GitHub Actions for splitting the monorepo into individual packages. While the framework is actively maintained and demonstrates strong craftsmanship, some modules show signs of technical drift such as deprecated classes (e.g., FileSystemApplicationContext, legacy cache handlers), reliance on specific Swoole versions, and copied Composer utilities that may diverge over time. The documentation is primarily in Chinese, and the Go counterpart (mix-go/mix) may split community attention.

RATING: 8.0/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
── end of results ──
$ submit: