Home Tag Author Help

You've successfully subscribed to Codecourse Blog!

Subscribe to Codecourse Blog

Stay up to date! Get all the latest & greatest posts delivered straight to your inbox

6 ways to avoid IF statements in Laravel

If statements are evil and should be avoided at all costs. Just kidding – but reducing the number of them can increase the readability/size of your code. Here are 6

Replicating Database Records in Laravel

I recently found myself needing to replicate a database record in Laravel. Turns out, there's a really easy way to achieve this. First, let's take a look at a naive

Renderless Vue Components in 5 Minutes

Renderless components in Vue are components that tuck away functionality without dictating how the UI for that functionality should look. Simply put, renderless components say "here's the functionality you need,

Clean Reusable Livewire Modals That You Can Trigger From Anywhere

Everyone loves modals, and with Livewire they're surprisingly easy to implement with the help of Alpine.js. I've been through so many iterations of the perfect modal setup, and this

Laravel Livewire Infinite Scrolling

When I set out to implement infinite scrolling in Livewire, I didn't think it would be this simple. It turns out that loading more records with either the click of

Laravel Websockets with Nuxt

Setting up Websockets with a separate API and client can be pretty tricky. By the end of this article, you'll be able to listen for realtime events fired from your

Laravel Authentication: UI vs Jetstream vs Fortify vs Breeze

In this article, I want to outline as simply as possible the differences between four first-party Laravel packages – UI, Jetstream, Fortify and Breeze. All, to some extent, help you scaffold