No release, weekly updates, and tip
Laravel
No release this week as the team is announcing things they've been cooking at Laracon AU.
Weekly Journal
Last week I continued support for the outstanding Human Shifts. Mostly cleaning up some loose code that was allowed in previous versions of Laravel.
Caen and I completed the punchout list for our side-project. I mention it last week, but I make this list to keep that last bit of development focused. It's easy when you're preparing to launch to keep polishing. So this list helps define the end. JT and I also made one for our side-project.
Yesterday I continued my Wednesday livestreams. This was a Part 2 of generating Livewire components with Blueprint. Still a bit farther to go on this. So I'll continue working on it during the livestreams until a PR is ready.
The rest of this week I hope to get the two side-projects in a launch-able place.
Weekly Tip
I shared this on Twitter last week. But based on the replies, seems a lot of people have been burned by this. So I'm sharing it here too.
Laravel Echo automatically prefixes event names with the event namespace (e.g. App\Events\
). So, if you're broadcasting a generic event (e.g. completed
), you need to prefix the event name with a dot (.
). Doing so will prevent Laravel from prefixing the event namespace.
Echo.channel('archive-posts') .listen('.completed', (e) => { // ... });