PHPackages                             dacoto/laravel-env-set - 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. dacoto/laravel-env-set

ActiveLibrary

dacoto/laravel-env-set
======================

A .env editor for Laravel

2.2.0(2mo ago)226.4k—6.3%1MITPHPPHP ^8.2CI passing

Since Apr 22Pushed 2mo agoCompare

[ Source](https://github.com/dacoto/laravel-env-set)[ Packagist](https://packagist.org/packages/dacoto/laravel-env-set)[ Docs](https://dacoto.github.io/laravel-env-set/)[ GitHub Sponsors](https://github.com/dacoto97)[ RSS](/packages/dacoto-laravel-env-set/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (6)Versions (7)Used By (1)

Laravel .env editor
===================

[](#laravel-env-editor)

[![Tests](https://camo.githubusercontent.com/5e43d8ba3c6f5ebbea6b31f042d78e0de398202762292df8b10547743248fe44/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6461636f746f2f6c61726176656c2d656e762d7365742f63692e796d6c3f6c6162656c436f6c6f723d343434443536266c6162656c3d5465737473)](https://camo.githubusercontent.com/5e43d8ba3c6f5ebbea6b31f042d78e0de398202762292df8b10547743248fe44/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6461636f746f2f6c61726176656c2d656e762d7365742f63692e796d6c3f6c6162656c436f6c6f723d343434443536266c6162656c3d5465737473)[![GitHub](https://camo.githubusercontent.com/a91800a682f240859865b90440287a2665056f110e05988198e98697458a8bc8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6461636f746f2f6c61726176656c2d656e762d7365743f6c6162656c436f6c6f723d343434443536266c6162656c3d4c6963656e7365)](https://camo.githubusercontent.com/a91800a682f240859865b90440287a2665056f110e05988198e98697458a8bc8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6461636f746f2f6c61726176656c2d656e762d7365743f6c6162656c436f6c6f723d343434443536266c6162656c3d4c6963656e7365)[![GitHub release (latest by date)](https://camo.githubusercontent.com/e54daf4d53f8944ca8c591af2d30e6524e5a3d5ce4afd5d77280d948a8b65f6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6461636f746f2f6c61726176656c2d656e762d7365743f6c6162656c436f6c6f723d343434443536266c6162656c3d52656c65617365)](https://camo.githubusercontent.com/e54daf4d53f8944ca8c591af2d30e6524e5a3d5ce4afd5d77280d948a8b65f6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6461636f746f2f6c61726176656c2d656e762d7365743f6c6162656c436f6c6f723d343434443536266c6162656c3d52656c65617365)

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

[](#installation)

```
composer require dacoto/laravel-env-set
```

Usage
-----

[](#usage)

### Working with facade

[](#working-with-facade)

Laravel Set Env has a facade with the name `dacoto\EnvSet\Facades\EnvSet`. You can perform all operations through this facade.

**Example:**

```
