Level 70
@amitsolanki24_ You can simply add the @csrf token in the form.
Publish your CORS
Then add your domain:
'allowed_origins' => ['https://your-domain.com'],
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hey all, How can I create an Iframe of a form in Laravel and use it on another domain, but I don't want to disable CSRF protection?
So how can I achieve this?
Please or to participate in this conversation.