Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Ably Broadcaster

Laravel Ably Broadcaster Laravel Package

springboardvr/laravel-ably-broadcaster

An Ably broadcaster driver for Laravel that plugs Ably’s realtime messaging into Laravel’s broadcasting system, enabling events to be sent to public, private, and presence channels with minimal configuration. Add scalable realtime features to your PHP app quickly and reliably.

View on GitHub
Deep Wiki
Context7

A Laravel Broadcast Driver for Ably.io

Frequently asked questions about Laravel Ably Broadcaster
What is springboardvr/laravel-ably-broadcaster?
It is a Laravel broadcast driver that connects Laravel's broadcasting system to Ably's realtime messaging service. Once configured, existing ShouldBroadcast events and broadcast() helper calls are sent through Ably instead of Pusher or Redis, so you do not have to rewrite domain events. It supports public, private, and presence channels and is designed to work alongside Laravel Echo and Ably's JavaScript client.
Which Laravel and PHP versions does this Ably broadcaster support?
The package documentation only covers Laravel 8, and Laravel 8 requires PHP 7.3 or higher. Its last release was on 2020-09-15, well before Laravel 9 and later existed. You should verify laravel/framework 8.x, your PHP version, and the Ably PHP SDK constraints against your lockfile using composer why-not before committing to it.
How do I install and configure the Ably broadcaster in a Laravel app?
Install it with Composer using springboardvr/laravel-ably-broadcaster, then add an ably entry to the connections array in config/broadcasting.php with your Ably key and set the default broadcaster to ably. Confirm whether the service provider is auto-discovered; if not, register it manually in config/app.php. After changing configuration, clear the cached config with php artisan config:clear and restart any queue workers.
Does it work with private and presence channels and Laravel Echo?
Yes, the driver targets public, private, and presence channels and is intended to align with Laravel Echo's channel subscription model. Private and presence channels still rely on your application's authorization callbacks, so you must verify that the auth endpoint returns the correct Ably token or capability response. Payload shape and channel naming should be tested against the Ably JavaScript client before relying on them in production.
Is this package still actively maintained?
No. The repository is archived, the last release was 2020-09-15, and there is no evident maintainer, CI pipeline, or security roadmap. With roughly 41 stars and low adoption, community support is limited. Treat it as a reference implementation or a time-boxed proof of concept rather than an unowned production dependency.
Can I use this broadcaster with Laravel 9, 10, or 11?
Not without work. The package only documents Laravel 8 support and its Composer constraints and internal BroadcastManager usage predate newer Laravel releases. For Laravel 9 and above, you would need to fork the package, update its constraints, and confirm the driver still implements supported broadcasting APIs. In most cases a maintained Ably integration or a small in-house driver built on the Ably SDK is the better choice.
What are the risks of running this archived broadcaster in production?
The main risks are dependency drift, possible Ably PHP SDK incompatibility, private-channel authorization defects, and no security patching path. It also blocks Laravel upgrades until the driver is forked or replaced, and the lack of CI coverage means defects may only surface at runtime. If you proceed, pin a specific tag or commit in a fork you own and put a replacement plan in writing.
What are the alternatives to this package for Ably broadcasting in Laravel?
You can use a maintained community Ably broadcaster, build a thin custom driver around the official Ably PHP SDK, or push events through a queue and a small relay service. If realtime needs are modest, Laravel's first-party Pusher and Redis broadcasters with Laravel Echo may be simpler. The key decision is whether your team is willing to own a fork of this driver long term.
How should I validate Ably broadcasting before rolling it into production?
Start with a non-production spike on a branch, fork the repository, pin a tag or commit, and resolve Composer constraints against your lockfile. Configure the ably connection, clear cached config, and broadcast one low-risk event to a public channel, then repeat for private and presence channels with real authorization. Run your existing test suite, check the received payloads in Laravel Echo, and roll out behind a feature flag to a single use case in staging first.
How should API keys and private channel authentication be handled with this driver?
Store your Ably API key in environment variables and read it through config, never hardcoded in config/broadcasting.php committed to source control. Scope and rotate keys in the Ably dashboard, and prefer token-based auth for clients so that full-privilege keys never reach the browser. Review the driver's private-channel authorization path to confirm it respects Laravel's authorization model and returns capabilities limited to the subscribed channel.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle