Adds the broadcastAfter and broadcastBefore methods as well as the broadcastAfterTo and broadcastBeforeTo to the Broadcasts trait
Adds the before() and after() methods to the Turbo Stream response builder, so you can do things like response()->turboStream()->before($model, 'dom_id')
Changed
Change the installation to make sure Alpine 3 is installed, and add the snippet that Caleb shared
Change the installation to make sure Turbo ^7.0.0-beta.7 is installed
Require Laravel ^8.47 so I can use the scoped instances for the turbo helper, instead of Singleton
Updated the documentation to mention the new broadcast methods and remove reference to the alpine bridge
Added
broadcastAfter
andbroadcastBefore
methods as well as thebroadcastAfterTo
andbroadcastBeforeTo
to theBroadcasts
traitbefore()
andafter()
methods to the Turbo Stream response builder, so you can do things likeresponse()->turboStream()->before($model, 'dom_id')
Changed
^8.47
so I can use the scoped instances for the turbo helper, instead of Singletoncloses #24 #23