PHPackages                             vegvisir/laravel-setenv - 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. vegvisir/laravel-setenv

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

vegvisir/laravel-setenv
=======================

Simple package for setting .env values in Laravel programatically

1.0.3(7y ago)069MITPHPPHP &gt;=7.0

Since Apr 28Pushed 7y agoCompare

[ Source](https://github.com/vegvisir-for-all/laravel-setenv)[ Packagist](https://packagist.org/packages/vegvisir/laravel-setenv)[ RSS](/packages/vegvisir-laravel-setenv/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (5)Versions (4)Used By (0)

laravel-setenv
==============

[](#laravel-setenv)

Simple package for setting .env values in Laravel programatically

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

[](#installation)

```
composer require vegvisir/laravel-setenv
```

Package supports auto-discovery for Laravel 5.5+

Usage
-----

[](#usage)

```
SetEnv::set('KEY', $value);
```

That's all :)

### Notes

[](#notes)

Please bear in mind that package is in development. We hope to extend cos as soon as possible.

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% of commits — single point of failure

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 ~0 days

Total

3

Last Release

2666d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11788037?v=4)[vegvisir](/maintainers/vegvisir)[@Vegvisir](https://github.com/Vegvisir)

---

Top Contributors

[![mognicki](https://avatars.githubusercontent.com/u/62215181?v=4)](https://github.com/mognicki "mognicki (8 commits)")[![vegvisir-for-all](https://avatars.githubusercontent.com/u/45864732?v=4)](https://github.com/vegvisir-for-all "vegvisir-for-all (2 commits)")

---

Tags

laravelenv

### Embed Badge

![Health badge](/badges/vegvisir-laravel-setenv/health.svg)

```
[![Health](https://phpackages.com/badges/vegvisir-laravel-setenv/health.svg)](https://phpackages.com/packages/vegvisir-laravel-setenv)
```

###  Alternatives

[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17930.8k](/packages/markwalet-nova-modal-response)[api-platform/laravel

API Platform support for Laravel

58190.1k21](/packages/api-platform-laravel)[ronasit/laravel-helpers

Provided helpers function and some helper class.

2087.0k31](/packages/ronasit-laravel-helpers)[team-nifty-gmbh/tall-datatables

Server-side rendered datatables for Laravel and Livewire

1422.0k5](/packages/team-nifty-gmbh-tall-datatables)[crumbls/layup

A visual page builder plugin for Filament 5 — Divi-style grid layouts with extensible widgets.

604.0k2](/packages/crumbls-layup)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.8k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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