allysonsilva/laravel-multienv
Laravel Multienv lets one Laravel installation run with multiple environment files, automatically selecting the right .env per domain or request. Ideal for multi-domain or multi-tenant apps sharing a single codebase, it keeps configuration isolated and manageable without duplicating the application.
.env files across local, staging, production, and tenant-specific deployments instead of maintaining custom bootstrap code.php artisan optimize and optimize:clear, making the package safer for standard production deployments that cache configuration. This reduces the risk of stale or incorrect environment values after deploy..env handling, and wants compatibility with native Artisan commands including optimize and optimize:clear.LoadEnvironmentVariables override or ad-hoc deployment scripts for env-file selection.php artisan optimize.optimize and optimize:clear compatibility, aligning the package with standard Laravel deployment workflows. The minimum Laravel version is now 9.32, so older applications need an upgrade first. Adopt it for simple multi-env file management; avoid it for complex secret handling or tenant-specific runtime resolution. Validate the deployment pipeline and config-cache invalidation before rollout.How can I help you explore Laravel packages today?