Welcome to the course! In this introductory episode, we talk about how to add a mentions feature (like @username) to your app. We kick things off by showing a demo where you can mention users in a comment form, and see how the system recognizes mentions, stores them in the database, and notifies users automatically.
Don't worry if your use case isn't a comment system, or if you're not using Livewire—the core concepts you're about to learn can be applied anywhere mentions are needed, and the core logic isn't locked to any specific front-end. The episode also covers how to keep things flexible, like mentioning projects or GitHub issues instead of just users.
You'll see how we detect mentions from user input, auto-complete usernames, and send notifications (which could be via email, Slack, SMS, or anything Laravel notifications support). We also make sure that mentions aren't broken (say, if the user is deleted) and prevent duplicate notifications if you edit a comment. Plus, we'll run tests as we go so everything is robust!
By the end of the episode, you'll have a clear understanding of what we're building and how you can make it fit your own needs. Ready? Let's get started building this mentions system from scratch.