larament/dot-env-editor
Edit Laravel .env files programmatically with larament/dot-env-editor. Read, update, add, and remove environment variables safely while preserving comments, formatting, and key order. A simple API for managing dotenv values at runtime without clobbering your file.
Super simple PHP package for updating .env files
How can I help you explore Laravel packages today?