Resonance
PHP Framework That Solves Real-Life Issues
FreeAIFrameworkOpen Source11,869 impressions#6 of its week1 comment
Resonance is an async PHP framework for building IO-intensive, AI-enabled web applications with REST, GraphQL, WebSockets, gRPC and more.
- for
- PHP developers building high-performance SaaS, real-time, or AI-driven services
- pricing
- open source
Key features
- Asynchronous PHP core — Leverages Swoole to run non-blocking code and promises for high-throughput workloads.
- Built-in AI integration — Connects to open-source LLMs via llama.cpp and supports Rubix ML model serving.
- Real-time messaging — Provides WebSocket and gRPC tools for low-latency communication.
- Opinionated DI container — Attribute-based dependency injection prevents cyclical services and simplifies setup.
- GraphQL out of the box — Define schemas with PHP attributes; fields resolve asynchronously.
- Security & OAuth 2.0 — Includes ready-to-use OAuth 2.0 authentication and other security features.
Use cases
- Serve machine-learning models via HTTP/WebSocket in a PHP codebase
- Build conversational copilots or chat interfaces using LLM prompts
- Create real-time dashboards or collaborative apps with WebSocket and gRPC
Resonance vs alternatives
Daytona | Langfuse | Firecamp | GraphQL editor | ||
|---|---|---|---|---|---|
| Best for | Async PHP for IO-heavy apps | One-command dev environment setup | LLM observability | API testing and debugging | GraphQL schema design |
| Pricing | Open source | Free | Subscription | Free | Subscription |
| DevHunt upvotes | 7 | 339 | 89 | 48 | 49 |
| Launched | Apr 2024 | May 2024 | Jan 2023 | Jan 2023 | Jan 2023 |
- Resonance vs Daytona: Daytona focuses on provisioning dev environments, not on async PHP app runtime.
- Resonance vs Langfuse: Langfuse provides observability for LLM apps, while Resonance is a full-stack PHP framework.
- Resonance vs Firecamp: Firecamp is an API client similar to Postman, whereas Resonance is a server-side framework.
- Resonance vs GraphQL editor: GraphQL editor helps design schemas, but Resonance implements GraphQL execution within PHP code.
Resonance FAQ
Does Resonance require a special PHP runtime?+
Yes, it runs on Swoole, which provides the asynchronous event loop and coroutine support.
Can I use existing PHP libraries with Resonance?+
Resonance includes opinionated versions of common libraries (e.g., Doctrine drivers) that are tested to work in async environments.
How does AI integration work?+
It ships with llama.cpp bindings for open-source LLMs and can serve Rubix ML models directly from the application.
Is configuration needed for async routes?+
No, routes and responders are declared with PHP attributes, eliminating extensive configuration files.
What protocols are supported for inter-service communication?+
Resonance supports REST, GraphQL, WebSockets, gRPC and also custom RPC via attributes.
Summarized by DevHunt from resonance.distantmagic.com · Sep 28, 2026. Details may change; check the official site.
Daytona
Langfuse
Firecamp
GraphQL editor







