This is the second of a short series of 3 videos where I'll demo Hotwire and the Turbo Laravel package. We're going from nothing to using everything Hotwire offers: Turbo Drive, Turbo Frames, Turbo Streams, and a bit of Turbo Native.
In the previous video, we saw how Hotwire and Turbo.js works, but we had to do some custom overrides to Laravel so everything worked nicely on it. In this episode, I introduce the Turbo Laravel package to reduce some of the previous boilerplate. We're also going to see how we can combine this all with WebSockets using the Laravel WebSockets package (but Pusher would also work fine) to deliver Turbo Streams to all users connected to a channel.
Relevant Links:
Hotwire: https://hotwire.dev/
Turbo Laravel: https://github.com/tonysm/turbo-laravel