Env A small PHP library to get environment details

Getting Started

Usage

Other

View the API Documentation for this class

There are a few other environment related functions available:

# Get the domain we're currently running under
$hostname = Env::getHostName();
# Get the current server's hostname
$hostname = Env::getMachineName();
# Get the git hash of the code base in our root path
$version = "2.0." . Env::getRevision(5);