Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Download Tracker 1.0.7 — Minor update available for module download_tracker (1.0.7). Release: Directory2Block Slideshow 1.0.8 — Minor update available for module directory2block_slideshow (1.0.8). Release: Mautic Audiences 1.1.5 — Minor update available for module mautic_audiences (1.1.5). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

It provides an interface to view the user defined environment variables from the .env file.
It will read the .env file using third party library called 'PHP dotenv'.
This module creates a service to read the user defined environment variables
from any other custom module by injecting to constructor.

In the configuration form settings, update the .env file path in the server.

Example :

-> /../ (For outside docroot folder)
-> / (For docroot folder)
-> /env (For docroot/env folder)

More info:

* For a full description of the module, visit [the project page]
(https://www.drupal.org/project/env_variables).

REQUIREMENTS

This module requires dependency of PHP library "vlucas/phpdotenv".

INSTALLATION

* Since this module depends on third party PHP library, Use composer to install this module.

* Install this module as you would normally install a
contributed Drupal module. Visit https://www.drupal.org/node/1897420
for further information.

CONFIGURATION

* Configure the Settings in
Administration » Configuration » Environment Variables:

1. After install this module, we can see the menu 'Environment Variables' in the
admin configuration menu.
2. By default, administrator role can access this url. If we want to access
this url to different role, go to permission page and find the word
'Access Environment Variables' to set the permission for different role.

MAINTAINERS

Current maintainers:
Elavarasan R - https://www.drupal.org/user/1902634

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Jul 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
3.0.0 Stable Jul 11, 2024