Browse all series
TechniquesAdvanced51 episodes

Build a Forum With Laravel

Building a forum is a great playground for getting acquainted with Laravel; there are so many little things to think about that really stretch the framework… and our minds! It's been a while since we built one on Laracasts, so join me as we create a feature rich forum together using the powerful ecosystem Laravel provides. Let's go!

Series episodes

The CRUD of Comments (12)

Showing Comments on a Post

17m 27s

Easily add paginated comments to your Post show page by reusing and creating components, while enhancing UX with relative dates for a polished forum experience.

The Only Inertia Trick You Need to Know

6m 59s

Discover a simple Inertia trick to optimize pagination by loading only needed comment data, boosting your app’s speed and efficiency with minimal effort.

Posting a Comment

18m 38s

Learn how to build and test a Laravel comment form, mastering form handling while ensuring your forum’s core feature works flawlessly and efficiently.

The Comment Form

13m 9s

Build a comment form UI for your Post show page using Test Driven Development, adding seamless interaction after setting up a solid backend foundation.

Auth Issues

5m 15s

Ensure your comment store route is protected with proper auth. Learn how to test and prevent guests from adding comments to keep your app secure and reliable. (157 characters) Let me know if you'd like it adjusted!

The "D" in "CRUD"

11m 26s

Build a simple, effective delete feature for comments and explore key considerations to handle removals confidently in your Laravel app’s CRUD operations. (157 characters) Let me know if you'd like it refined!

Say Hello to Policies

10m 57s

Unify backend and frontend authorization with Laravel Policies. Easily wrap your authorization logic for quick, consistent model action checks anywhere in your app. (157 characters) Let me know if you'd like it refined!

Preventing the Pagination Problem

11m 3s

Fix the pagination reset bug when deleting comments and learn how to style your delete button for a smoother, more polished user experience in Laravel. (157 characters) Let me know if you'd like it adjusted!

Editing Comments: The Backend Edition

15m 52s

Build a test-driven backend for editing comments: write passing tests, then refactor controllers, policies, and routes for clean, maintainable code.

Editing Comments: The Frontend Edition

11m 24s

Build a Vue-powered frontend to edit comments by reusing your add-comment form—straightforward, practical step-by-step guidance.

Useful User Feedback: Toasts

11m 42s

Provide clear user feedback with toasts! Learn how Jetstream’s built-in toast notifications enhance UX by confirming actions quickly and smoothly. (156 characters)

Useful User Feedback: Confirming Actions

22m 14s

Prevent accidental deletions by adding seamless confirmation prompts. Enhance user experience and keep your app safe with simple, effective action confirmations. (157 characters)

Continue learning

Thumbnail for NuxtJS Crash Course
NuxtJS Crash Course

With Andre Madarang

  • 11 episodes
  • Intermediate
  • Frameworks
Thumbnail for Get Real With Laravel Echo
Get Real With Laravel Echo

With Jeffrey Way

  • 8 episodes
  • Advanced
  • Techniques
Thumbnail for Let's Build an Offline-First Vue App
Let's Build an Offline-First Vue App

With Andrew Schmelyun

  • 10 episodes
  • Advanced
  • Frameworks
Thumbnail for 10 Techniques for Cleaner Code
10 Techniques for Cleaner Code

With Jeffrey Way

  • 10 episodes
  • Intermediate
  • Techniques
Thumbnail for Laravel Authentication Techniques
Laravel Authentication Techniques

With Jeffrey Way

  • 2 episodes
  • Intermediate
  • Techniques

Would you like to hear from Laracasts by email occasionally?