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 2w ago

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 41% 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

2795d ago

### Community

Maintainers

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

![](https://avatars.githubusercontent.com/u/18738623?v=4)[Codebased Ltd](/maintainers/langleyfoxall)[@langleyfoxall](https://github.com/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

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M337](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M169](/packages/laravel-ai)[livewire/flux

The official UI component library for Livewire.

9527.8M124](/packages/livewire-flux)[laravel/surveyor

Static analysis tool for Laravel applications.

86121.4k12](/packages/laravel-surveyor)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M131](/packages/laravel-mcp)[zidbih/laravel-deadlock

Make temporary Laravel workarounds expire and fail CI when ignored.

984.0k](/packages/zidbih-laravel-deadlock)

PHPackages © 2026

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