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:
