Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Building Realtime Web Apps with Laravel, Nuxt 3 and Reverb
Rating: 5.0 out of 5(1 rating)
9 students

Building Realtime Web Apps with Laravel, Nuxt 3 and Reverb

Learn how to build realtime applications with Laravel 11, Nuxt and Reverb.
Created byTapan Sharma
Last updated 8/2025
English

What you'll learn

  • Learn how to build realtime applications with Laravel (with Sanctum, Reverb) and Nuxt
  • Learn how to configure Laravel Sanctum (along with Fortify) to serve a Frontend SPA
  • Learn how to setup broadcasting in Laravel and listen for events in our Nuxt app using Echo
  • Learn how to configure and implement private broadcasting in an API/SPA environment
  • Learn how to implement an infinite scrolling behaviour in a Nuxt app
  • We'll also learn how to implement login (which is session based implemented with Sanctum)

Course content

3 sections • 40 lectures • 5h 56m total length
  • Client and API Project Setup4:56
  • Using the Same Domain2:49
  • Laravel Sanctum Configuration9:08
  • Install Nuxt-Auth-Sanctum Package2:55
  • Making our First Request13:22
  • Structuring Our Nuxt App10:18
  • Authenticating with Fortify7:07
  • Fetching the Authenticated User6:16
  • Using API Resource and Interface for the User10:51
  • Using TS interface for Login Form2:47
  • Protecting pages with a Middleware8:41
  • Signing Out5:52

Requirements

  • Beginner level knowledge of PHP/Laravel is Required
  • Beginner level knowledge of VueJS/Nuxt is Required

Description

Using the power of Laravel Reverb, let’s build a real-time post-timeline application with Laravel 11, Nuxt, Sanctum, and Reverb.


Projects Roadmap and Status:

[Uploaded] A Guide to Setting Up Laravel with Nuxt and Reverb


[Uploaded] A Guide to Setting Up Laravel with Nuxt and Reverb

In this section, we’ll explore the foundations of Laravel and Nuxt by setting up both the backend and frontend projects.

Topics covered include:

  • Setting up Laravel Sanctum to serve a Nuxt-based SPA securely.

  • Understanding the basics of broadcasting in Laravel and integrating it with a Nuxt frontend.

  • Implementing private broadcasting for authenticated users in the frontend.

  • Using composables in Nuxt for reusable logic.

  • Implementing authentication features like login flows and persisting user sessions after page reloads.

Course Summary:

Build a powerful real-time SPA using Laravel (Sanctum, Fortify, Reverb) and Nuxt (with Pinia for state management).

What you’ll learn:

  • Configure Laravel Sanctum with Fortify to serve a Nuxt-based SPA.

  • Set up Laravel broadcasting and connect it with Nuxt using Laravel Echo.

  • Implement private channels for user-specific event broadcasting.

  • Use the Intersection Observer API to add infinite scroll functionality.

  • Seed databases and create dummy data for development and testing.

  • Use Laravel API Resources for clean and consistent API responses.

  • React to broadcasted events in Nuxt for real-time UI updates.

By the end of the course, you’ll have created a fully functional, feature-rich real-time timeline application — an ideal portfolio project to demonstrate your skills in full-stack development with Laravel and Nuxt.

Who this course is for:

  • Laravel Developers who want to Build Realtime web applications using Nuxt and Reverb
  • VueJS and Nuxt Developers who want to learn how to integrate Laravel with Reverb to build Real-Time Applications