Level 61
Add middleware for that purpose.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Is there a way to enable basic authentication only for the Vapor staging environment?
I'm used to add a .htaccess directive for this. But that's not possible on Vapor.
Please or to participate in this conversation.