diff --git a/README.md b/README.md index 289f02a..5987b40 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,14 @@ class VerifyCsrfToken extends Middleware } ``` +In Laravel 11 this is done in `bootstrap/app.php`: +``` +->withMiddleware(function (Middleware $middleware) { + $middleware->validateCsrfTokens(except: [ + 'support-bubble', + ]); + }) +``` #### Configure message destination Finally, you need to decide where you want to send the support bubble's submission to.