承接 ouun/acorn-env-encryption 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

ouun/acorn-env-encryption

最新稳定版本:v1.0.0

Composer 安装命令:

composer require ouun/acorn-env-encryption

包简介

Encrypt & Decrypt .env files for Roots Acorn.

README 文档

README

Laravel v9.32.0 brought the release of two new Artisan commands: env:encrypt and env:decrypt. These commands allow you to encrypt and decrypt your .env files as well as environment specific files such as .env.testing, .env.local, .env.production, etc.

This package adds that encryption and decryption support to Roots Acorn. You can now store your .env file in your version control system (e.g. GIT) without worrying about exposing sensitive information. We are using it for Continuous Integration and Continuous Deployment (CI/CD) to deploy our Acorn applications to staging and production environments with GitHub Actions.

The commands are adjusted by this package to work with Acorn, as paths to the .env files are different from Laravel. However, I opened a PR to add support for Acorn to the Laravel core, so this package hopefully will be obsolete in the future: PR #48271

Installation

You can install this package with Composer:

composer require ouun/acorn-env-encryption

You can publish the config file with:

$ wp acorn vendor:publish --provider="Ouun\EnvEncryption\Providers\EnvEncryptionServiceProvider"

Usage

Please refer to the Laravel documentation for more information on how to encrypt & decrypt .env files.

Please just note that instead of $ php artisan you will need to use WP-CLI:

$ wp acorn env:encrypt

统计信息

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

GitHub 信息

  • Stars: 9
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-01