This has something to do with how PHP works.
If the size of post data is greater than post_max_size, the $_POST and $_FILES superglobals are empty, thus it appears as if there's no CSRF token included in the request.
Hey
Im using Laravel 5.2 andphp artisan servefor my php server.
Im trying to upload a pdf which is around 10mb. When i submit the form i get a TokenMismatchException error.
Even though im running php artisan serve. I can go into my etc/php/{version}/cli and update the values post_max_size and upload_max_filesize in the php.ini file.
This will fix it
Please or to participate in this conversation.