In one of my previous posts, I have shown how to disable registration in Laravel.
In Laravel 5.7, a new way has been introduced to disable registration and that's all thanks to Dennis Smink, for his excellent pull request
Auth::routes(['register' => false]);
That's the only code you need to add and that would disable the registration in your Laravel application.
![[How-to] Disable Registration in Laravel 5.7](https://res.cloudinary.com/practicaldev/image/fetch/s--C8PLfo5L--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://milanchheda.com/uploads/cards/17.png)
Top comments (0)