jordanpartridge/conduit-env-manager
Conduit Env Manager is a Laravel package for working with .env files and environment variables, offering a convenient way to read, write, and organize app configuration across environments. Simplify env handling without manual file edits.
sed/bash scripts most teams accumulate for .env bootstrapping. Justified when you maintain more than a couple of Laravel services or onboard engineers regularly; the value is guardrails (backups, name validation, masked reads), not raw capability.env:init from a template is the highest-leverage feature for developer-experience OKRs — it turns a documented ritual into a one-command step and removes a common first-day support ticket.env:backup --name before-deploy gives an auditable restore point before config changes; a cheap, credible answer to "what happens if we corrupt prod-adjacent config during a deploy?"--json, --no-interaction, --all, and consistent exit codes make this scriptable inside pipelines — a prerequisite for ephemeral/preview environments and config-drift checks in a test job.PASSWORD/SECRET/KEY/TOKEN raises the floor on accidental secret exposure in logs and terminal recordings. Use it to justify not printing .env files during debugging, but do not position it as a secrets-management strategy.Adopt when:
.env files and occasionally break local or staging config; backups and validation remove that class of incident.Look elsewhere when:
.env files on disk.env:set DB_PASSWORD secret123 lands in shell history and process listings) will fail most control reviews without compensating process.For executives: This is a small, cheap tool that removes a recurring papercut — environment setup and config edits done by hand, inconsistently, across teams. It standardizes that into four commands with backups and masked output, which reduces onboarding time and a known source of self-inflicted outages. It is not a security product: it does not encrypt, rotate, or audit access to secrets, so it complements rather than replaces any secrets-management investment. Cost is a Composer dependency; risk is a young, single-maintainer package, which we mitigate by pinning the version and keeping it out of production runtime paths. Recommendation: pilot on internal/dev and CI scaffolding, revisit if we standardize on the Conduit toolchain.
For engineering: v2.0.0 is effectively the first real release — v1.x was a stub, so there is no meaningful migration burden, just a re-check of any scripts written against the old command names. What we get: env:init, env:set, env:get, env:backup, JSON and non-interactive modes for pipelines, input validation, and automatic masking of sensitive keys on read. What we must handle ourselves: secrets passed on the command line are visible in shell history and ps, and backup artifacts are plaintext on disk — those files need restrictive permissions and must be git-ignored. Treat this as scripting glue for dev and CI environments, not as the control plane for production credentials.
How can I help you explore Laravel packages today?