iridiumintel/rapidenv-php
最新稳定版本:v0.0.1
Composer 安装命令:
composer require iridiumintel/rapidenv-php
包简介
General PHP client for RapidEnv secure secrets manager
README 文档
README
RapidEnv is a next-gen replacement for .env files — a secure, distributed, and simple way to store and fetch secrets.
This package (rapidenv-php) is a general PHP client that can be used in any project (Laravel, Symfony, WordPress, CLI...).
🚀 Installation
composer require rapidenv/rapidenv-php
⚡ Quick Start
<?php
require 'vendor/autoload.php';
use RapidEnv\Config;
use RapidEnv\Client;
use RapidEnv\EnvStore;
$EnvStore = new \RapidEnv\EnvStore(
new \RapidEnv\Client(
new \RapidEnv\Config(
endpoint: env('RAPIDENV_ENDPOINT'),
projectId: env('RAPIDENV_PROJECT_ID'),
environmentId: env('RAPIDENV_ENVIRONMENT_ID'),
clientId: env('RAPIDENV_CLIENT_ID'),
publicKey: env('RAPIDENV_PUB'),
privateKey: env('RAPIDENV_PRIV'),
)
)
);
echo $EnvStore['DB_PASSWORD']; // array-like access
🔑 How It Works
- SaaS / self-host backend securely stores encrypted secrets.
- Client signs requests and fetches bundles of variables.
- In-memory cache: values are cached in RAM (default TTL = 15 min).
- ETag: backend skips sending data if nothing changed (304 Not Modified).
- No disk writes: secrets are never stored on disk.
📦 Integrations
- Laravel wrapper →
rapidenv-laravel(coming soon) - Symfony bundle (coming soon)
- WordPress plugin (coming soon)
🛡️ Security
- 🔐 Ed25519 request signing
- 🛡️ Secrets only in memory
- ⚡ End-to-end encryption (AES-GCM + TLS)
- 🔄 Transparent cache + rotation without redeploys
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-09-11