Category: Laravel, Laravel

James Bannister • July 8, 2019 • 3 minute read One of the biggest benefits of using a framework like Laravel is that so many of the common use-cases or problems have already been solved; email verification is no exception.

This is a feature that was introduced in Laravel 5.8, so if you are still on 5.7 then skip on to the next section.

You may have a similar directory or different place you wish to place this code; so just substitute as appropriate. In my example above, I still wanted a signed route so that I could verify that the verification URL hadn't been tampered with, but you can substitute this to generate the URL any way you want.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners