PHPackages                             langleyfoxall/laravel-config-to-env - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. langleyfoxall/laravel-config-to-env

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

langleyfoxall/laravel-config-to-env
===================================

⚙ Artisan command that replaces all variables in a Laravel config file with calls to env()

v1.0.2(7y ago)08[2 issues](https://github.com/langleyfoxall/laravel-config-to-env/issues)LGPL-3.0-onlyPHP

Since Jun 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/langleyfoxall/laravel-config-to-env)[ Packagist](https://packagist.org/packages/langleyfoxall/laravel-config-to-env)[ RSS](/packages/langleyfoxall-laravel-config-to-env/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

⚙ Laravel Config To Env
=======================

[](#-laravel-config-to-env)

This package provide an Artisan command that replaces all variables in a Laravel config file with calls to `env()`.

Installation
------------

[](#installation)

You can then run the following Composer command to install this package.

```
composer require langleyfoxall/laravel-config-to-env
```

Usage
-----

[](#usage)

```
# Run on a single config file
php artisan config:config-to-env "config/queue.php"

# Run on all config files
php artisan config:config-to-env "config/*.php"
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity65

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~71 days

Total

3

Last Release

2745d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c580cdf7c14898fff179cdfc1085892091d5d2f49d917873a12365af9ac77c93?d=identicon)[Jord-JD](/maintainers/Jord-JD)

![](https://www.gravatar.com/avatar/250ad189b21ef862e3f0727fc0e416deb51588f7681ec35792327b1bd500e9ca?d=identicon)[langleyfoxall](/maintainers/langleyfoxall)

---

Tags

artisanartisan-commandconfigurationenvenvironmentlaravel

### Embed Badge

![Health badge](/badges/langleyfoxall-laravel-config-to-env/health.svg)

```
[![Health](https://phpackages.com/badges/langleyfoxall-laravel-config-to-env/health.svg)](https://phpackages.com/packages/langleyfoxall-laravel-config-to-env)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[wnx/laravel-stats

Get insights about your Laravel Project

1.8k1.8M7](/packages/wnx-laravel-stats)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[zidbih/laravel-deadlock

Make temporary Laravel workarounds expire and fail CI when ignored.

961.8k](/packages/zidbih-laravel-deadlock)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
