Skip to content

Cake Module for using the dotenv file for settings local environment variables.

License

Notifications You must be signed in to change notification settings

cake-contrib/Cake.DotEnv.Module

Repository files navigation

Cake.DotEnv.Module

Cake Module for using the dotenv file for settings local environment variables.

The concept is that you would create a .env file in the root of your project. You should make sure to put .env in your gitignore file. Then you will set any environment variables you need locally in your Cake script in that file. The module would load those environment variables so you can then inject those into your build script. If the file is not present then it is ignored.

This way your do not clog up your local system with environment variables.

Give a Star! ⭐

If you like or are using this project please give it a star. Thanks!

Discussion

For questions and to discuss ideas & feature requests, use the GitHub discussions on the Cake GitHub repository, under the Extension Q&A category.

Join in the discussion on the Cake repository

Release History

Click on the Releases tab on GitHub.

About

Cake Module for using the dotenv file for settings local environment variables.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published