You can use whereNumber() on routes instead of passing a regex pattern to where()
- ·
- Telegram
- ·
- Newsletter
I'm reading the Laravel 9 docs from scratch and TIL you can write your route restrictions in a more expressive way:
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. We're writing a book! Join the early access to get it for free.