mikebronner/development-settings
A Laravel package for managing development-only settings, keeping environment configuration organized and out of production. Useful for toggling debug options, feature flags, and local overrides while building and testing applications.
mikebronner/development-settings) automates synchronized environment/configuration management across repositories, which aligns well with Laravel’s multi-repo monorepo or microservices architectures. It reduces manual .env file duplication and ensures consistency in development environments (e.g., API keys, database URLs, debug modes)..env system, leveraging PHP’s config caching and service providers. Can integrate with Laravel’s config() helper or custom bootstrappers..env loading.config/development-settings.php), enabling granular control..env dynamically, synchronization could lead to unintended overrides. Mitigate via explicit whitelisting of synchronized keys.APP_DEBUG=true) are low-risk, but sensitive data (e.g., DB_PASSWORD) should never be synced. Enforce this via validation in the package’s config..env overrides a synced value?settings:synced) for post-processing (e.g., cache clearing)?php artisan test) without polluting production-like configs?.env files and config caching. The package extends this ecosystem without reinventing it.auth-service, payment-service).APP_URL, QUEUE_CONNECTION).php artisan config:clear and redeploy..env copy-pasting with package-driven sync..env files in favor of the package..env file permissions allow writes..env files for sensitive data.composer require mikebronner/development-settings
php artisan vendor:publish --provider="MikeBronner\DevelopmentSettings\DevelopmentSettingsServiceProvider".config/development-settings.php.ignored_keys array.php artisan config:get APP_DEBUG reflects synced values.monolog channel) to detect failures..env management if sync fails (fallback config provided)..env writes, Git sync failures.storage/logs/laravel.log for sync events or errors.development-settings.php config in the repo.config-monorepo) with Git submodules.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Git sync fails (e.g., network) | Broken dev environments | Fallback to local .env overrides. |
| Corrupted synced config | Invalid app behavior | Validate configs via config:cache. |
| Package update breaks config | Settings not loaded | Test updates in staging first. |
| Sensitive data accidentally synced | Security breach | Enforce ignored_keys + CI validation. |
.env Hell" with before/after demos..env edits in Git history (via git blame).How can I help you explore Laravel packages today?