PHPackages                             isaeken/envman - 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. isaeken/envman

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

isaeken/envman
==============

Manage your Laravel environment runtime

v1.0(3y ago)43[3 PRs](https://github.com/isaeken/envman/pulls)MITPHPPHP ^8.1

Since Sep 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/isaeken/envman)[ Packagist](https://packagist.org/packages/isaeken/envman)[ Docs](https://github.com/isaeken/envman)[ RSS](/packages/isaeken-envman/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (5)Used By (0)

Manage your Laravel environment runtime
=======================================

[](#manage-your-laravel-environment-runtime)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d352f4bd580a0cb47401eb98a6f7fd7560397d3b49a4323a4974b255a999ac49/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f697361656b656e2f656e766d616e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/isaeken/envman)[![GitHub Tests Action Status](https://camo.githubusercontent.com/8e3f4f4776e22f2012b6e3a556f46e0d3d98ae1db62289ef6556a1f4485a0a00/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f697361656b656e2f656e766d616e2f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/isaeken/envman/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/2fbf291067ba8b78241a92b105674af9af3829cdb86aefbd56f6fdd098705bd3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f697361656b656e2f656e766d616e2f466978253230504850253230636f64652532307374796c652532306973737565733f6c6162656c3d636f64652532307374796c65)](https://github.com/isaeken/envman/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/6524f1480daaec1e9a345433dbd04a1294e3cc5097d969d98a1e768a5e10dc1f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f697361656b656e2f656e766d616e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/isaeken/envman)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/c7bc48cbeb2bf0da14f5e04b7c83152b4ade06cb6fc727b62ee05083d6b7bb4b/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f456e764d616e2e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d697361656b656e253246656e766d616e267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d4d616e6167652b796f75722b656e7669726f6e6d656e742b64796e616d6963616c6c79266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d68747470732533412532462532466c61726176656c2e636f6d253246696d672532466c6f676f6d61726b2e6d696e2e737667)](https://github.com/sponsors/isaeken)

Manage your Laravel application's environment variables dynamically so fast.

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

[](#installation)

You can install the package via composer:

```
composer require isaeken/envman
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="envman-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="envman-config"
```

This is the contents of the published config file:

```
return [
    'enabled' => env('ENVMAN_ENABLED', true),

    'cache' => env('APP_ENV', 'production') === 'production',

    'features' => [
        // custom configs for domains
        'domains' => true,
    ],

    'database' => [
        'connection', env('DB_CONNECTION'),
    ],
];
```

Usage
-----

[](#usage)

You can change environment variables dynamically:

```
\IsaEken\Envman\Facades\Envman::setConfig('app.name', 'Your App Name');
\IsaEken\Envman\Facades\Envman::setConfig('app.debug', false);
\IsaEken\Envman\Facades\Envman::setConfig('app.environment', 'production');
```

And you can reset variables:

```
\IsaEken\Envman\Facades\Envman::resetConfig('app.debug');
```

Commands
--------

[](#commands)

```
# Reset all your environment changes
php artisan envman:reset
```

```
# Cache all environment variables
php artisan envman:cache
```

```
# Clear all environment variable cache
php artisan envman:cache:clear
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [İsa Eken](https://github.com/isaeken)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

1331d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/27427375a2832cfe00cf076041951fd56f9cafa9696e77887bee805101f49bb9?d=identicon)[isaeken](/maintainers/isaeken)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")[![isaeken](https://avatars.githubusercontent.com/u/57031552?v=4)](https://github.com/isaeken "isaeken (5 commits)")

---

Tags

laravelisaekenenvman

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/isaeken-envman/health.svg)

```
[![Health](https://phpackages.com/badges/isaeken-envman/health.svg)](https://phpackages.com/packages/isaeken-envman)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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