A PHP microservices coroutine framework built on Swoole, offering high-performance, Spring Cloud-like features for modern PHP applications.
Swoft is a PHP microservices coroutine framework built on the Swoole extension. It provides a high-performance, annotation-driven development platform for building scalable applications that run resident in memory, avoiding the limitations of traditional PHP-FPM. It solves the need for modern PHP applications to handle concurrency efficiently while offering comprehensive microservices features like service discovery and circuit breaking.
PHP developers and teams building high-performance, scalable microservices applications that require concurrency, real-time capabilities, and modern framework features like dependency injection and service governance.
Developers choose Swoft for its unique combination of Swoole's coroutine performance with a Spring Cloud-like feature set, offering a familiar annotation-driven development experience, comprehensive service governance tools, and adherence to PSR standards, all within the PHP ecosystem.
🚀 PHP Microservice Full Coroutine Framework
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides high-performance HTTP, WebSocket, RPC, and TCP servers with coroutine support, enabling concurrent processing without traditional PHP-FPM limitations, as highlighted in the key features.
Offers a flexible annotation system similar to Spring Cloud, allowing for declarative configuration and rapid development of microservices, which is a core part of its philosophy.
Includes integrated features for service discovery, circuit breaking, rate limiting, and configuration management, essential for building scalable microservices architectures.
Complies with PSR-7, PSR-14, and PSR-15 standards, ensuring interoperability with other PHP components and middleware, as specified in the features.
Relies on the Swoole extension, which is not part of standard PHP and requires server-level installation, limiting deployment options and increasing setup complexity.
The framework's complexity, with features like AOP, extensive dependency injection, and microservices concepts, presents a significant barrier for developers new to such architectures.
Primary documentation and community support are heavily Chinese-centric, as evidenced by the README's Chinese links and reliance on QQ groups, which may hinder non-Chinese speakers.