Cloudways wrote a nice tutorial on how to protect our Laravel apps with CSRF.

laravel csrf

Today, many PHP frameworks like Laravel and others have built-in support for protecting web apps against Cross Site Request Rorgery (CSRF) attacks. The CSRF function of Laravel automatically generates Laravel CSRF token for each active user session. This token helps to verify that the request and approval for application is only given to the authenticated user.

However, despite all these built-in functionalities available, many developers are still not clear how to use this CSRF protection tool in their Laravel applications. Therefore in this article, I will demonstrate you how to protect your applications using the Laravel CSRF.