Luke's Larabits
Here, you'll find Luke Downing's personal collection of Larabits. If you're unfamiliar, Larabits are short, isolated lessons that focus on a single concept or technique. While a typical series may take hours to work your way through, Larabits are instead for when you have five or ten minutes to pick up a small bit of knowledge.
Please keep in mind that each of these lessons is self-contained and may be viewed in any order. Happy learning!
Series episodes
A Quick Guide to Pest
7m 10sSo, you want to jump into the world of testing? Or perhaps you're a seasoned PHPUnit dev...
How to Create a Pest Plugin
17m 42sFind yourself reusing the same custom helpers across all your Pest projects? Want to add something to...
Convert a Project From Laravel Mix to Vite
12m 49sIt's been a little while since Laravel switched to Vite as it's default asset bundler. You might...
Don't Sleep on the Sleep Helper
6m 37sLaravel recently introduced a handy new Sleep class that serves as a drop-in replacement for PHP's sleep...
Livewire 3 Has Rekindled My Interest
21m 8sLivewire 3 is now in public beta, and the features on offer have me excited to start...
Laravel Volt First Look
12m 18sLivewire 3 ships with a shiny new plugin called Volt, allowing us to create single file components...
5 Excellent New Features in Pest v2
15m 6sPest 2.9 brings along with it a handful of spicy new features, from snapshots to type coverage...
Refactoring to First Class Callables
6m 26sFirst Class Callables were first introduced in PHP 8.1, but they're still quite rare to see in...
An Intro to Container Queries
8m 49sResponsive web design has been around for years now, but it was always limited by the fact...
From Blank to Blog With Laravel in 10 Minutes
12m 20sEver wondered what Laravel is all about? If you have 10 minutes, let's put together a simple...
Strict Types by Example
6m 6sHave you ever wondered what declare(strict_types=1) actually does when you include it at the top of a...
Laravel Prompts First Look
19m 51sEverybody knows the CLI is ugly, right? Not anymore! Laravel prompts is a framework agnostic package for...
Laravel Pulse First Look
16m 4sLaravel recently released Pulse, a lightweight monitoring tool designed to give you quick and useful insights into...
Setting Up a Mac for Laravel in 2024
19m 31sI recently purchased a new MacBook. Impressed as I was, I was equally amazed by how easy...
Exploring PHP's Spaceship Operator
6m 44sNo, we're not talking about astronauts here! The spaceship operator in PHP allows you to drastically simplify...
What's New in Vue 3.4
7m 42sThe Vue team recently released version 3.4 of the framework. It contains two key features that will...
Exploring Laravel Reverb
12m 38sAlongside Laravel 11, the team released Reverb: a websocket server written in PHP. This makes it a...
A Byte-sized Bitwise Primer
17m 5sAs a self-taught developer, I avoided binary and bitwise operations for the longest time. In hindsight, I...
Automate Vite with PhpStorm
4m 4sSick and tired of forgetting to run npm run dev every time you open your project? Me...
How to Perform Random Order Pagination
8m 6sHave you ever wanted to use inRandomOrder and paginate together in one Eloquent query? They seem to...
Pruning Your Eloquent Models
7m 35sEvery application eventually needs pruning - the act of cleaning up outdated database records. You may have...
Str::markdown() is More Powerful Than You Think
11m 3sYou likely know that Laravel's Str::markdown() method allows you to effortlessly convert markdown to HTML, but did...
Watch Me Submit a Laravel Pull Request
10m 8sIn a recent series of mine, we tackled a complex contribution to Open Source. However, more often...
Here's How I Format Headlines in Laravel
4m 45sHeadlines and titles appear in almost every app you build. If you want to enforce a certain...
Dive Deeper with Actions
12m 33sIn Jeffrey's recent Larabit, he discussed the intermediate trap and how you can use actions to keep...
Cache Timeouts You Can Actually Understand
4m 30sWhen you use Laravel's Cache class or facade, you also define a ttl, or time-to-live, that determines...
Here's What You Missed at Laracon
12m 1sI'm back from speaking at Laracon US 2024! There was a real buildup of excitement for this...
Unwrapping Pest 3
25m 6sAt Laracon US, Nuno announced the release of the latest version of Pest PHP - version 3!...
Take the Time to Explore
7m 34sThe tools we use are often a black box - we know they work, but how or...
Pest's Stressless Stress Testing
7m 32sHave you ever wanted to measure the performance impact of changes to your application? Or maybe you...
Finally, a Great Way to Blog with Markdown!
25m 51sAs all developers do, I'm upgrading my blog. It's going great, but… well, I'm struggling with the...




