You can use whereNumber() on routes instead of passing a regex pattern to where()

You can use whereNumber() on routes instead of passing a regex pattern to where()

I'm reading the Laravel 9 docs from scratch and TIL you can write your route restrictions in a more expressive way:

We're writing a book, you can get it for free here.