PHPackages                             spiral/dotenv-bridge - 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. spiral/dotenv-bridge

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

spiral/dotenv-bridge
====================

Spiral Framework: DotEnv Loader

3.16.1(2mo ago)229.6k1MITPHPPHP &gt;=8.1CI failing

Since May 21Pushed 2mo ago5 watchersCompare

[ Source](https://github.com/spiral/dotenv-bridge)[ Packagist](https://packagist.org/packages/spiral/dotenv-bridge)[ Docs](https://spiral.dev)[ GitHub Sponsors](https://github.com/sponsors/spiral)[ RSS](/packages/spiral-dotenv-bridge/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (82)Used By (0)

Spiral Framework: DotEnv Loader
===============================

[](#spiral-framework-dotenv-loader)

[![PHP Version Require](https://camo.githubusercontent.com/9d05919fa91b52570cc5c6cd527fed8d96d3ee6940ad734eb6b8ee9a9dcf1f15/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f646f74656e762d6272696467652f726571756972652f706870)](https://packagist.org/packages/spiral/dotenv-bridge)[![Latest Stable Version](https://camo.githubusercontent.com/c006d22ee2a962b1149ca2e9619f154bce30442125ef76bd36c08950d260c5e6/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f646f74656e762d6272696467652f762f737461626c65)](https://packagist.org/packages/spiral/dotenv-bridge)[![phpunit](https://github.com/spiral/dotenv-bridge/actions/workflows/phpunit.yml/badge.svg)](https://github.com/spiral/dotenv-bridge/actions)[![psalm](https://github.com/spiral/dotenv-bridge/actions/workflows/psalm.yml/badge.svg)](https://github.com/spiral/dotenv-bridge/actions)[![Codecov](https://camo.githubusercontent.com/bff3259b1a14faad84c48b0146faa7ff530ec5973693c679e021abab41468a7e/68747470733a2f2f636f6465636f762e696f2f67682f73706972616c2f646f74656e762d6272696467652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/spiral/dotenv-bridge/)[![Total Downloads](https://camo.githubusercontent.com/c978616cdcc87a43dabaae3c243beb4842cd401e981d71c9d5c96ff049f6d30e/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f646f74656e762d6272696467652f646f776e6c6f616473)](https://packagist.org/packages/spiral/dotenv-bridge)[![type-coverage](https://camo.githubusercontent.com/8caee4ce362c49fd8d3890801d923a145ec2430e7b6bca2d5fa86a7d499e83e7/68747470733a2f2f73686570686572642e6465762f6769746875622f73706972616c2f646f74656e762d6272696467652f636f7665726167652e737667)](https://shepherd.dev/github/spiral/dotenv-bridge)[![psalm-level](https://camo.githubusercontent.com/892bd3268c6ef8ed9eb6fd206ae3a7937f77df77366475183ad195637f2fc3dd/68747470733a2f2f73686570686572642e6465762f6769746875622f73706972616c2f646f74656e762d6272696467652f6c6576656c2e737667)](https://shepherd.dev/github/spiral/dotenv-bridge)[![](https://camo.githubusercontent.com/4442b73a11753b80fdd7b442ddbfaf8383902c8b9ffa66ed1718e8c62e102f2e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646973636f72642d636861742d6d6167656e74612e737667)](https://discord.gg/8bZsjYhVVk)

**[Documentation](https://spiral.dev/docs/extension-dotenv)** | [Framework Bundle](https://github.com/spiral/framework)

License:
--------

[](#license)

MIT License (MIT). Please see [`LICENSE`](./LICENSE) for more information. Maintained by [Spiral Scout](https://spiralscout.com).

###  Health Score

56

—

FairBetter than 98% of packages

Maintenance84

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 85.4% 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 ~31 days

Recently: every ~82 days

Total

81

Last Release

82d ago

Major Versions

v1.0.1 → 2.7.02020-12-21

2.14.1 → 3.0.02022-09-13

PHP version history (4 changes)v1.0.0PHP ^7.1

2.7.0PHP &gt;=7.2

2.10.0PHP &gt;=7.4

3.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/796136?v=4)[Anton Tsitou](/maintainers/wolfy-j)[@wolfy-j](https://github.com/wolfy-j)

---

Top Contributors

[![spiralbot](https://avatars.githubusercontent.com/u/100867204?v=4)](https://github.com/spiralbot "spiralbot (117 commits)")[![SerafimArts](https://avatars.githubusercontent.com/u/2461257?v=4)](https://github.com/SerafimArts "SerafimArts (14 commits)")[![butschster](https://avatars.githubusercontent.com/u/773481?v=4)](https://github.com/butschster "butschster (4 commits)")[![roxblnfk](https://avatars.githubusercontent.com/u/4152481?v=4)](https://github.com/roxblnfk "roxblnfk (2 commits)")

---

Tags

dotenvphp7spiral

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/spiral-dotenv-bridge/health.svg)

```
[![Health](https://phpackages.com/badges/spiral-dotenv-bridge/health.svg)](https://phpackages.com/packages/spiral-dotenv-bridge)
```

###  Alternatives

[roots/bedrock

WordPress boilerplate with Composer, easier configuration, and an improved folder structure

6.5k441.8k2](/packages/roots-bedrock)[akaunting/laravel-money

Currency formatting and conversion package for Laravel

7825.3M18](/packages/akaunting-laravel-money)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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