dniccum/secret-stash-cli
Composer 安装命令:
composer require dniccum/secret-stash-cli
包简介
A PHP-based Composer package to interact with the SecretStash environment variable service.
README 文档
README
SecretStash CLI (PHP / Laravel)
Stop sharing
.envfiles in Slack.
The SecretStash CLI lets you securely sync environment variables across your team, applications, and environments—directly from your Laravel or PHP project.
Built for developers who want a simple, secure way to manage secrets without breaking their workflow.
Requirements
- PHP 8.2 or higher
- Laravel 11 or higher
- A SecretStash API Key
🚀 Why SecretStash?
If you’ve ever:
- Shared
.envfiles over Slack, email, or Notion - Accidentally committed secrets to Git
- Struggled keeping dev/staging/prod configs in sync
- Spent too long onboarding teammates with environment setup
👉 SecretStash fixes this in minutes.
⚡ Quick Start (2 Minutes)
1. Install
composer require dniccum/secret-stash-cli
2. Authenticate
php artisan secret-stash:login
3. Pull your environment variables
php artisan secret-stash:pull
✅ Your .env file is now synced and secure.
🌐 Use with SecretStash Cloud
The CLI is designed to work with SecretStash Cloud:
With the cloud platform, you can:
- Manage applications and environments in one place
- Share secrets securely across your team
- Sync configs across multiple machines instantly
- Avoid ever exposing sensitive values
Start free — no credit card required.
🔐 Secure by Design
SecretStash uses zero-knowledge encryption:
- Secrets are encrypted locally before being sent
- Your encryption keys never leave your machine
- SecretStash servers never see your raw values
Only you and your team can decrypt your secrets.
⚙️ How It Works
- Store your environment variables in SecretStash Cloud
- Encrypt values locally before transmission
- Use the CLI to sync
.envfiles across environments
This ensures a secure, consistent workflow from local development to production.
💡 Common Use Cases
👥 Team Collaboration
Keep your entire team in sync without sharing sensitive files manually.
🌍 Environment Management
Manage separate configs for local, staging, and production.
🚀 Laravel Development
Plug directly into your Laravel workflow via Artisan commands.
🔁 CI/CD Pipelines
Securely pull environment variables during deployment.
📦 Available Commands
php artisan secret-stash:login # Authenticate with SecretStash php artisan secret-stash:pull # Pull environment variables php artisan secret-stash:push # Push local changes
🧪 Import Existing Projects
Already have a .env file?
You can import your existing variables into SecretStash and start syncing immediately.
🆚 Why Not Just Use .env Files?
.env files alone:
- ❌ Hard to share securely
- ❌ Easy to leak
- ❌ Not synced across teams
- ❌ No access control
SecretStash:
- ✅ Secure sharing
- ✅ Encrypted end-to-end
- ✅ Built for teams
- ✅ CLI-native workflow
📚 Documentation
Full documentation available at:
👉 https://docs.secretstash.cloud
❤️ Ready to stop leaking secrets?
Start using SecretStash today:
Testing
composer test
or:
./vendor/bin/pest
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
dniccum/secret-stash-cli 适用场景与选型建议
dniccum/secret-stash-cli 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 162 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 03 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「symfony」 「php」 「laravel」 「environment」 「variables」 「dniccum」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 dniccum/secret-stash-cli 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 dniccum/secret-stash-cli 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 dniccum/secret-stash-cli 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
The bundle for easy using json-rpc api on your project
Bundle Symfony DaplosBundle
Alfabank REST API integration
Biblioteca PHP pura para pagamentos SISP/Vinti4 de Cabo Verde.
Zero-dependency raw PHP DNS resolver, domain-ownership verification, and intoDNS/MxToolbox-style diagnostics. Queries authoritative nameservers directly over sockets — never trusts the recursive cache for ownership checks.
Laravel package for Accurate Online API integration.
统计信息
- 总下载量: 162
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 35
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-06
