Download the PHP package ictools/env-generator without Composer
On this page you can find all versions of the php package ictools/env-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ictools/env-generator
More information about ictools/env-generator
Files in ictools/env-generator
Download ictools/env-generator
More information about ictools/env-generator
Files in ictools/env-generator
Vendor ictools
Package env-generator
Short Description This package allows you to generate the env files needed in production by retrieving data from AWS Secret Manager
License MIT
Package env-generator
Short Description This package allows you to generate the env files needed in production by retrieving data from AWS Secret Manager
License MIT
Please rate this library. Is it a good library?
Informations about the package env-generator
Env Generator
The architecture imagined to use this component is a monorepo deployed on an AWS EC2 instance.
This tool allows you to download environment variables from AWS Secrets Manager and add them to your environment files. It is useful if you have several components.
Install
1. Create a secret
- Create a secret in AWS Secrets Manager :
- You can have several keys/values in a secret
- Secret name: 'projectName/env/component/secretName'* ⚠
(*) E.g.: mysite/prod/api/top_secret
2. Create .env
Add this to the root of your project
3. Run
Run this in the root of your project:
With Docker
Or with php script
All versions of env-generator with dependencies
PHP Build Version
Package Version
Requires
aws/aws-sdk-php Version
^3
league/flysystem Version ^3.2
vlucas/phpdotenv Version ^5.4
guzzlehttp/psr7 Version >=2.4.5
league/flysystem Version ^3.2
vlucas/phpdotenv Version ^5.4
guzzlehttp/psr7 Version >=2.4.5
The package ictools/env-generator contains the following files
Loading the files please wait ....