Buy your loved one the ultimate gift. Lifetime gift certificates are $100 off.

Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.

Sign up to get full access or log in to your account and sit back.

Published On Apr. 5th 2017

Let's Build A Forum with Laravel and TDD: A User Can Filter Threads By Popularity

Episode 17 Run Time 11:51

Download

It would be nice if users had the ability to filter all threads by popularity. That way, the most active threads will bubble to the top of the stack. Let's write a test and then implement this very feature.

View the source code for this lesson on GitHub.