Csrf Package provides Cross Site Request Forgery protection by comparing provided token with session token to ensure request validity.
With Composer
composer require glowy/csrf
Run tests
./vendor/bin/pest
The MIT License (MIT) Copyright (c) Sergey Romanenko