Launched April 30, 2024
Resonance

Resonance

PHP Framework That Solves Real-Life Issues

FreeAIFrameworkOpen Source11,869 impressions#6 of its week1 comment

Comments

>log in to comment
  • Devluc· 2y ago

    Great project. Supported. Good luck with the launch

Resonance is centered around using PHP as a communication hub, interconnecting all your services through REST API, GraphQL, WebSockets, gRPC, and more. It is built around Swoole, can connect with LLM models through llama.cpp, and is perfect for SaaS systems, high-performance applications, and writing modern, maintainable code.

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
works withSwoolellama.cppRubix ML

Key features

6 features of Resonance
  • 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

ResonanceDaytonaLangfuseFirecampGraphQL editor
Best forAsync PHP for IO-heavy appsOne-command dev environment setupLLM observabilityAPI testing and debuggingGraphQL schema design
PricingOpen sourceFreeSubscriptionFreeSubscription
DevHunt upvotes7339894849
LaunchedApr 2024May 2024Jan 2023Jan 2023Jan 2023

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.