定制 rodas/dotenvx 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rodas/dotenvx

最新稳定版本:1.1.0-RC1

Composer 安装命令:

composer require rodas/dotenvx

包简介

Dotenvx encryption for PHP

README 文档

README

Plaintext .env files have been a major attack vector, but they've also been undeniably useful.

A secure dotenv (dotenvx.com)

"Dotenvx: Reducing Secrets Risk with Cryptographic Separation

Abstract. An ideal secrets solution would not only centralize secrets but also contain the fallout of a breach. While secrets managers offer centralized storage and distribution, their design creates a large blast radius, risking exposure of thousands or even millions of secrets. We propose a solution that reduces the blast radius by splitting secrets management into two distinct components: an encrypted secrets file and a separate decryption key.

..."

Read the whitepaper

Dotenvx decrypts your .env files. Using with cryptographic separation limiting their attack vector while retaining their benefits. Allowing use in small projects, on virtual servers, where it is not possible to run an external startup script for the application.

Important

But for this to be effective, the decryption keys (private key) and the application must be in separate environments, while maintaining security in each environment.

BSD 3-Clause License Latest Version Run unit tests (PHPUnit)

dotvenx

This library also provides an adapter to dump the .env values ​​into an array and a multi-level array.

How to use

See the documentation.

Under the hood, this is all implemented using the same public-key cryptography as Bitcoin.

📦 Available at Packagist: rodas/dotenvx

Ask DeepWiki

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2025-11-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固