ctors/pledge-symfony-routing
inet pledge).Adopt if:
pm.max_requests = 1 (required for pledge persistence).Look Elsewhere if:
Executives: "This package lets us enforce OpenBSD’s pledge/unveil security model directly in Symfony routes—no custom code. For [compliance/security-critical use case], it’s a turnkey way to harden our [application] against file system leaks or unauthorized network access. Minimal dev effort, maximal security audit confidence."
Engineering:
"Symfony + OpenBSD? Now you can annotate controllers with #[Pledge] and #[Unveil] to restrict process capabilities per route. Example: Lock down a /payments endpoint to only read /config and write /logs. Requires PHP-FPM tweaks (pm.max_requests=1) but eliminates manual middleware for OpenBSD security. Docs are sparse, but the pecl-pledge project backs the core logic."
Security Team: "This bridges Symfony’s routing with OpenBSD’s pledge/unveil, giving us granular control over what each route can do—file access, network, etc.—without runtime overhead. Critical for [specific compliance goal], and it’s maintainable since it’s tied to route definitions."
How can I help you explore Laravel packages today?