Browse all series
TechniquesIntermediate29 episodes

Jeremy's Larabits

Here, you'll find Jeremy McPeak'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

HTMX May Be All You Need

15m 21s

Explore HTMX, a powerful tool that simplifies building modern UIs using just HTML attributes—create dynamic search forms with paginated results effortlessly. (157 characters) Let me know if you'd like it refined!

How to Recycle Laravel

9m 49s

Simplify creating related model instances with Laravel’s recycle() method. Learn how to streamline your factories and boost testing efficiency in this Larabit. (157 characters)

How to Bulk Insert Data

23m 41s

Learn how to efficiently bulk insert large data sets in Laravel, overcoming PHP’s limitations with practical tips to speed up your database operations.

Laravel Development on a Windows Machine

34m 41s

Discover how to set up a smooth Laravel development environment on Windows using Laragon and Herd. Build Laravel apps confidently without a Mac!

Introduction to Laravel Precognition

13m 12s

Use Laravel Precognition to run server-side validation in the browser, streamline forms, and improve UX without duplicating validation rules.

Everything You Need to Know About Laravel in 30 Minutes

29m 14s

Get up to speed with Laravel in 30 minutes! Learn routing, validation, views, and database basics to kickstart your Laravel journey fast and confidently.

How to Provision a Server with Laravel Forge

11m 27s

Learn how to provision a server with Laravel Forge step-by-step. Deploy your Laravel projects smoothly with this easy, hands-on Larabit tutorial!

How to Provision a Server on Digital Ocean

10m 58s

Provision a Laravel server on Digital Ocean manually or with Forge. Learn step-by-step deployment using Digital Ocean's App Platform—easy and efficient!

Popping Over with Popovers

31m 7s

Discover how to use native HTML popovers for toasts, search boxes, and notifications in your apps. Follow this friendly Laracasts tutorial to enhance your UI skills!

Using Generics with PHP

25m 35s

Discover how to use generics in PHP with powerful tooling support. Learn the full workflow to write cleaner, more flexible code despite PHP's limitations.

Routing with Attributes

12m 58s

Discover how Laravel's attribute routing simplifies your code, boosts readability, and streamlines route management in this engaging Larabit tutorial.

Laravel's Flexible Cache is a Game Changer

7m 4s

Discover Laravel 11’s Cache::flexible() method that auto-refreshes cached data for up-to-date results. Boost your app’s performance with this game-changing feature!

Simpler Conditionals with when()

6m 19s

Discover how Laravel’s when() helper simplifies conditional logic. Write cleaner, more readable code with this easy, powerful tool in your next project!

Using Laravel's New nullOnUpdate() Method

8m 19s

Explore Laravel’s new nullOnUpdate() method for migrations. Learn how to handle nullable fields on update with ease in this clear, practical guide!

How to Write Custom Helpers Functions

7m 56s

Learn how to create custom helper functions in Laravel to simplify your code and boost productivity. Easy steps to enhance your app with reusable helpers!

Laravel's Service Container Explained in One Minute

56s

Understand Laravel’s service container in one minute. Learn how to store and resolve dependencies easily, making your code cleaner and more flexible!

You Can Write Your Own Laravel Facades

5m 18s

Learn how to create your own Laravel facades for clean, expressive code that simplifies service access and hides complex dependencies. Easy step-by-step guide!

Deployment With Laravel Cloud In Seconds

14m 17s

Deploy your Laravel app in seconds with Laravel Cloud! Discover how this fast, seamless platform helps you ship projects quickly and effortlessly.

Laravel Just Destroyed Your N+1 Problem

5m 11s

Discover how Laravel 12.8 auto-eager loads relationships to eliminate N+1 issues. Simplify your queries and boost app performance with less code!

Better Forms, Less Effort

7m

Simplify your forms with UseMods! Learn how powerful utilities streamline validation and submission to save time and boost your workflow efficiency.

No Js Framework? No Problem.

8m 8s

Build powerful tools with vanilla JavaScript and raw DOM elements—no frameworks needed. Discover how to create clean, efficient code the old-school way!

Single Action Controllers: One Job, Done Right

4m 29s

Master Single Action Controllers in Laravel to keep your app clean, organized, and focused—one simple controller for every unique task.

Inline Event Listeners In Laravel (No Class Required)

3m 36s

Learn how to handle Laravel events with inline listeners—no class needed! Simplify debugging and add quick, environment-specific logic easily.

Laravel's New UseFactory Attribute

6m 16s

Discover Laravel 11.39's UseFactory attribute for cleaner, explicit model-factory links—no newFactory() needed, even with custom factory names!

Single Action All The Controllers?

9m

Explore the benefits and challenges of using single-action controllers for cleaner, maintainable Laravel code in this engaging Laracasts video.

Should You Keep it Simple, Or Abstract Away?

5m 49s

Learn when to use inline validation or Laravel Form Requests to write cleaner, smarter code in this practical, friendly Laracasts video.

Code Confession: I Don't Write Tests... Until I Have To

4m 31s

Discover why I skip tests until bugs strike—and how writing one saved me from repeating costly mistakes in this honest Laracasts video.

Where Should This Code Go?

7m 2s

Decide where Laravel query or transformation code lives—controller, model, or service. See a real example and pick the clearest, testable home.

Should You Use Big Models or Services?

11m 15s

Decide when to keep logic in Eloquent models or move it to service classes—follow a practical example to balance big models with clean, testable code.

Continue learning

Thumbnail for How to Read Code
How to Read Code

With Jeffrey Way

  • 6 episodes
  • Intermediate
  • Techniques
Thumbnail for Motion For The Web
Motion For The Web

With Simon Vrachliotis

  • 43 episodes
  • Intermediate
  • Techniques
Thumbnail for Add Passkeys to a Laravel App
Add Passkeys to a Laravel App

With Luke Downing

  • 7 episodes
  • Advanced
  • Techniques
Thumbnail for Crafting Vue Modals
Crafting Vue Modals

With Pascal Baljet

  • 14 episodes
  • Advanced
  • Techniques
Thumbnail for Queue it Up
Queue it Up

With Jeffrey Way

  • 11 episodes
  • Intermediate
  • Techniques

Would you like to hear from Laracasts by email occasionally?