PHP Classes

File: example/src/index.php

Recommend this page to a friend!
  Classes of EnvKey   EnvKey PHP   example/src/index.php   Download  
File: example/src/index.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: EnvKey PHP
Load environment variables from the EnvKey service
Author: By
Last change:
Date: 11 months ago
Size: 245 bytes
 

Contents

Class file image Download
<?php
require_once __DIR__ . '/../vendor/autoload.php'; // Include the Composer autoloader

 
$lalaValue = getenv('LALA'); // Get the value of the LALA variable
  // Output the value to the webpage
 
echo "The value of LALA is: $lalaValue";

?>