If you only need to check one or two parameters from the query string to filter a bit of data, performing that logic in the controller is simple enough. But now imagine an e-commerce site, where there are dozens of ways to filter the data. What else might be possibility?
View the source for this lesson on GitHub.
Published on Apr 4th, 2016.
Understand.io is used by hundreds of Laravel developers to find and fix errors.
Sign up for a free 14-day trial now.