-
Notifications
You must be signed in to change notification settings - Fork 43
[EDU-1984] - Create Laravel getting started guide #2730
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
8f75a8f
to
bd8ce26
Compare
bd8ce26
to
327b2ea
Compare
1bd0528
to
962aecb
Compare
``` | ||
</Code> | ||
|
||
## Step 6: Create a frontend file to listen for events <a id="step-6"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Including the css file is unnecessary—it distracts the user and shifts focus away from the main content of the documentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be helpful to include a screenshot from https://github.com/ably-labs/laravel-broadcast-app to demonstrate that we have a functioning app and provide an instant display of broadcaster capabilities.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
link to https://github.com/ably-labs/laravel-broadcast-app missing
@@ -0,0 +1,484 @@ | |||
--- | |||
title: "Getting started: Pub/Sub in Laravel" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
title: "Getting started: Pub/Sub in Laravel" | |
title: "Getting started: Laravel broadcasting using ably" |
The current integration of Ably with Laravel no longer reflects a traditional pub/sub pattern.
At the same time, Laravel section under the "Pub/Sub" category is somewhat misleading, as it doesn’t expose any of the core pub/sub APIs.
Instead, it’s built on top of pub/sub—similar to other higher-level products like Chat, LiveSync, and LiveObjects. It offers a full-fledged integration specifically tailored to Laravel and Laravel Echo, exposing framework-specific APIs. I would recommend avoiding the pubsub term in any of the ably laravel documentation, it's misleading for number of reasons : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider moving this guide to a top-level section, as it aligns more closely with a dedicated Laravel integration than with generic pub/sub functionality. Or better, if we can have a separate page for the same, since none of the pubsub template is compatible with it.
* Revisit the basics of [Pub/Sub](/docs/pub-sub?lang=php) | ||
* Explore more [advanced](/docs/pub-sub/advanced?lang=php) Pub/Sub concepts | ||
* Read more about how to use [presence](/docs/presence-occupancy/presence?lang=php) in your apps | ||
* Fetch message [history](/docs/storage-history/history?lang=php) in your apps | ||
* Learn about [Laravel Broadcasting](https://laravel.com/docs/broadcasting) with Ably |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Revisit the basics of [Pub/Sub](/docs/pub-sub?lang=php) | |
* Explore more [advanced](/docs/pub-sub/advanced?lang=php) Pub/Sub concepts | |
* Read more about how to use [presence](/docs/presence-occupancy/presence?lang=php) in your apps | |
* Fetch message [history](/docs/storage-history/history?lang=php) in your apps | |
* Learn about [Laravel Broadcasting](https://laravel.com/docs/broadcasting) with Ably | |
* Read ably laravel doc at [Ably laravel broadcaster github](https://github.com/ably/laravel-broadcaster) | |
* Read ably laravel echo at [Ably laravel echo github](https://github.com/ably-forks/laravel-echo) | |
* Try running our [ably laravel chat app](https://github.com/ably-labs/laravel-broadcast-app) | |
* Learn more about [Laravel Broadcasting](https://laravel.com/docs/broadcasting) |
Description
Laravel getting started guide for Pub/Sub. Using Laravel 12.