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!
Overview
Syllabus
- Stack, Setup and Structure
- Selecting a Stack
- Configuring Jetstream
- Defining Our Data
- Factories and Seeding
- Test Suite Tinkering
- Post Fundamentals
- Pest Driving Posts
- From Model to Json
- Pagination and Performance
- Helpful Test Helpers
- Showing a Single Post
- Linking Up the Index
- The CRUD of Comments
- Showing Comments on a Post
- The Only Inertia Trick You Need to Know
- Posting a Comment
- The Comment Form
- Auth Issues
- The "D" in "CRUD"
- Say Hello to Policies
- Preventing the Pagination Problem
- Editing Comments: The Backend Edition
- Editing Comments: The Frontend Edition
- Useful User Feedback: Toasts
- Useful User Feedback: Confirming Actions
- Creating New Posts
- Creating Posts: the Backend Edition
- Creating Posts: the Frontend Edition
- Post Policies, Shared Data and Attributes
- Using Slugs for SEO
- Fixing a Broken Test Suite
- Building a WYSIWYG Editor
- I: A New Editor
- II: Rise of the Toolbar
- III: The AI Wars
- IV: Return of the HTML
- V: The Comment Strikes Back
- VI: Revenge of the Fixtures
- Post Topics
- On the Topic of Posts
- Filtering the Index by Topic
- Crafting a Topic Menu
- Wiring Up the Form
- House Keeping
- Upgrading to Laravel 11
- Removing Laravel Sanctum
- Upgrading Vue
- Squashing Bugs
- Random Refactors
- Liking Content
- Polymorphic Models
- Denormalizing the Database
- He Likes Me
- He Likes Me Not
- Smash That Like Button
- Searching for Posts
- A Simple Search Solution
- Combining Search with Topics
- Let Scout Do the Searching
Taught by
Luke Downing