Black Friday: the Laravel testing course is $149 instead of $249, through Dec 7. See the course →
logo

When validation can protect your app's performance

Is there anything validation can't do?

Joel Clermont
Joel Clermont
2025-04-21

From our daily Laravel tips email. Get the next one in your inbox.

I talk about the importance of validation a lot, but today there is new twist.

In the latest episode of the No Compromises podcast, we discuss how ignoring GET request validation can lead to performance issues and open your application to abuse. We also highlight the importance of bounding pagination and share tips for using form requests to handle unexpected user input.

  • 00:00 Quiz on Laravel's default pagination limit
  • 01:00 Performance concerns with large datasets
  • 03:20 Validating per-page requests in controllers
  • 05:45 Why you should block negative page numbers
  • 09:20 Silly bit

Listen Now (12 min)

And after listening, don't forget to subscribe to the podcast, so you don't miss future episodes.

Here to help,

Joel

P.S. And if you want to learn even more about Laravel validation, do I have the book for you.

Want a tip like this in your inbox every weekday?

Each one takes less than 2 minutes to read. Join 4,000+ Laravel developers who already get them.

email
No spam. Only real-world advice.
Toss a coin in the jar if you found this helpful.