audunru/config-secrets
A Laravel package for keeping sensitive configuration values encrypted at rest. Store secrets safely in your config files or environment, then decrypt them at runtime so your application can use them without exposing plaintext in source control.
.env drift across environments can standardize on encrypted config committed to the repo, decrypted at boot with a single key.Adopt when:
Look elsewhere when:
Signal from v7.1.0: the addition of a Trivy security-scanning workflow is a maintainer-hygiene improvement, not a product capability. It supports a "this project takes supply-chain security seriously" narrative but should not drive adoption decisions on its own.
To executives: This is a small, low-cost package that removes plaintext secrets from our Laravel repositories — a common audit finding — without buying or operating new infrastructure. It reduces leak risk and speeds onboarding. The residual risk is key custody, which we address through our existing CI secret store. The recent release adds automated vulnerability scanning to the project's own pipeline, a modest signal of maintainer maturity.
To engineering: It's a Laravel-native way to commit encrypted secrets and decrypt them at runtime, keeping config in the repo and deployments reproducible. The trade-off is that the decryption key becomes a single point of failure and must be handled deliberately in CI and local dev. It is not a replacement for Vault or cloud secret managers if we later need rotation, auditing, or dynamic credentials — treat it as the pragmatic step now, with a clear trigger for revisiting.
How can I help you explore Laravel packages today?