stechstudio/laravel-env-security
Laravel Env Security lets you encrypt sensitive values in your .env file and decrypt them automatically at runtime, keeping API keys, database credentials, and other secrets out of plaintext. Includes Artisan commands to encrypt and decrypt environment files.
.env files and environment secrets leaking (committed to source control, served over HTTP, or exposed via misconfigured web roots). It supports a "close the obvious holes" decision rather than a broader secrets-management replatform..env files, agencies auditing many client deployments, CI pipelines wanting a cheap guardrail against committing env files.Adopt when:
.env files are managed manually and you cannot yet justify a centralised secrets manager.Look elsewhere when:
env:encrypt/env:decrypt if you only need encryption at rest.@laravel-shift).For executives (one line): a small, cheap safeguard that reduces the chance of a .env file leaking — a common, embarrassing, and expensive class of incident — and it has just been confirmed compatible with our next Laravel release.
For engineering leadership: version 3.0 is a compatibility release only — Laravel 13.x support, contributed by the Laravel Shift team — and it lands as a major bump. Treat it as a maintenance signal, not a capability upgrade. There are no new features, no deprecations called out, and no migration notes beyond the version number. The practical implication: this package is a low-cost guardrail, but it is effectively in maintenance mode.
Ask: approve adopting (or bumping to) 3.0 as part of the Laravel 13 upgrade wave, with two conditions — (1) confirm it is additive to, not a substitute for, our secrets-management roadmap, for which a separate decision is required; and (2) flag it in the dependency register as a low-velocity, single-maintainer package so we review it annually or on framework majors rather than assuming active development.
Risk framing: the downside of adoption is negligible — small surface area, easy to remove. The real risk is believing it solves secrets management. It does not. Positioning it correctly as a hygiene control rather than a security control is what keeps this from becoming a false sense of assurance.
How can I help you explore Laravel packages today?