Download the PHP package omenejoseph/dynamic-env without Composer
On this page you can find all versions of the php package omenejoseph/dynamic-env. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download omenejoseph/dynamic-env
More information about omenejoseph/dynamic-env
Files in omenejoseph/dynamic-env
Package dynamic-env
Short Description A package to dynamically generate .env values from secret services like AWS secrets
License MIT
Homepage https://github.com/omenejoseph/dynamic-env
Informations about the package dynamic-env
Package is meant to help development teams easily manage their env variables across environments
So imagine you are onboarding a new member of your team and you need to send them all the variables they need to be up and running in your laravel application or you add a new variable to your .env file and you want all your engineers to be able to have that new variable and its actual value you cannot push to git in .env example, this package utilises AWS secrets to help solve this problem. With as little as one command you can sync your current .env file to AWS secrets manager and ask your team to re populate their .env file with all the new variables added. Another advantage of this package is that you are able to specify which environment you want to sync to and populate from, thus properly seperating your environments making them clean and tidy.
Installation
You can install the package via composer:
Dont forget to publish the application config and prefill with the appopriate credentials
Usage
This command asks for the environment you want to sync to and populates AWS secret with the variables in your current .env file
This command asks for the environment you want to populate from and replaces your current .env file with the env variables for that environment on AWS secrets.
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Omene Joseph
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.
All versions of dynamic-env with dependencies
illuminate/support Version ^9.0
spatie/invade Version ^1.1
aws/aws-sdk-php Version ^3.208