Skip to content

Install Broadcasting Command Fix for Livewire Starter Kit#55774

Merged
taylorotwell merged 4 commits into
laravel:12.xfrom
joshcirre:12.x
May 19, 2025
Merged

Install Broadcasting Command Fix for Livewire Starter Kit#55774
taylorotwell merged 4 commits into
laravel:12.xfrom
joshcirre:12.x

Conversation

@joshcirre

Copy link
Copy Markdown
Contributor

When playing around with the new useEcho hook for the starter kits, I realized that the Broadcasting Install command no longer worked seamlessly for the Livewire starter kit. I assume this is because there is no more bootstrap.js for this starter kit and no longer needed for most Livewire applications.

That being said, I admittedly spent more time than I should have figuring out I did not have Echo proper instantiated after installing the Broadcasting command, so this PR is set up to add a check and add the echo file import for app.js if and only if bootstrap.js is not found.

This means the install:broadcasting command is the only thing needed to run for any starter kit.

@taylorotwell taylorotwell merged commit d3376e1 into laravel:12.x May 19, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants