tomatophp/laravel-agora
Integrate Agora real-time voice and video into your Laravel app with ready-made helpers for channel and token generation, configuration management, and quick setup so you can add live audio and video features without writing boilerplate.
Adopt (or, more likely, fork) when:
.env-driven App ID / App Certificate configuration and an injectable service, rather than hand-rolling HMAC token construction in a controller.Look elsewhere when:
To executives: This is a small, MIT-licensed Laravel wrapper that handles one narrow but blocking piece of any live audio/video feature — server-side token generation. It does not choose our vendor and it does not render video; it de-risks our side of the integration so we can run a cheap, time-boxed experiment and make the real Agora-vs-alternatives call with evidence. Because the whole thing is a few hundred lines, the exposure is low: we can adopt it, fork it, or replace it internally without changing our product plan or our client code.
To engineering: Treat it as adopted source, not a supported dependency. Put it behind an application-owned AgoraTokenIssuer contract so the vendor name appears in exactly one file; derive channel names, roles, and UIDs server-side rather than trusting the client; treat TTL and role as product configuration; never log tokens; and add the two tests the package ships without — a deterministic expiry test and a decoded-privilege test. Assume the same two operational failure modes that dominate every Agora integration: a rotated App Certificate looks exactly like a client bug, and token renewal mid-session is the code path nobody exercises until a long call drops. Budget for both in staging before launch, and name an internal owner for the forked code.
How can I help you explore Laravel packages today?