Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Dotenv Editor

Dotenv Editor Laravel Package

pixelfed/dotenv-editor

A PHP package from PixelFed for editing .env files programmatically, letting you read, update, and manage environment variables from application code instead of handling the file manually.

View on GitHub
Deep Wiki
Context7

pixelfed/dotenv-editor is a small PHP utility for reading and modifying .env files programmatically. Instead of loading values into the environment, it edits the file in place—letting you update, add, or remove keys while preserving comments, ordering, and formatting. It's handy for setup wizards, admin panels, or any application that needs to persist configuration changes without manual file editing.

  • Update existing keys without disturbing surrounding lines
  • Add new variables, with optional quoting for values containing spaces
  • Delete keys cleanly, leaving the rest of the file intact
  • Preserves comments and blank lines for human-readable diffs
  • Simple, dependency-light API suitable for Laravel or standalone PHP
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource