Skip to content

Commit

Permalink
Merge pull request #41 from ably/fix/readme-laravel-echo
Browse files Browse the repository at this point in the history
Fix readme laravel echo
  • Loading branch information
sacOO7 authored Mar 5, 2024
2 parents a443e4d + a5700cd commit 68dc28c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Finally, you are ready to install and configure [Ably Laravel Echo](https://gith

[Ably Laravel Echo](https://github.com/ably-forks/echo/) is a JavaScript library that makes it painless to subscribe to channels and listen for events broadcast by your server-side broadcasting driver. Ably is maintaining a fork of the official laravel-echo module which allows you to use the official [ably-js SDK](https://github.com/ably/ably-js). In this example, we will also install the official ably package:
```
npm install @ably/laravel-echo ably
npm install @ably/laravel-echo ably@1.x
```

Once Echo is installed, you are ready to create a fresh Echo instance in your applications JavaScript. A great place to do this is at the bottom of the `resources/js/bootstrap.js` file that is included with the Laravel framework. By default, an example Echo configuration is already included in this file; however, the default configuration in the `bootstrap.js` file is intended for Pusher. You may copy the configuration below to transition your configuration to Ably.
Expand Down

0 comments on commit 68dc28c

Please sign in to comment.