adrien-mallet/secured-container-bundle
Symfony bundle that helps secure your app by removing selected commands/services from the dependency injection container. Configure a list of unauthorized service IDs (e.g., Doctrine drop commands) to prevent dangerous operations in certain environments.
Adopt if:
schema:drop).symfony/console) and want to enforce security without rewriting logic.Look elsewhere if:
migrate"); consider Laravel’s built-in gates/policies.USER directives or Kubernetes RBAC).For Executives:
"This bundle locks down dangerous CLI commands in our Symfony/Laravel apps—like disabling database:drop unless explicitly allowed—reducing accidental data loss and compliance risks. It’s a lightweight, zero-cost security layer that aligns with our zero-trust roadmap, with minimal dev effort."
For Engineering:
"A 10-minute config change to block sensitive commands (e.g., doctrine:schema:drop) in production, using Symfony’s existing container system. No new dependencies, no runtime overhead—just declarative security. Ideal for hardening shared environments or prepping for audit season."
How can I help you explore Laravel packages today?