You're in luck - it was just added to Beta 4 - see here for more details
Added App :: environment method.
Edit: these are now several different ways to get an environment variable like from Laravel 4.1
App::environment() app()->environment() app()->env $GLOBALS['env']
You can also check if the current environment is set to "local"
App::isLocal() app()->isLocal()
You can also check if the current environment is set to "test"
App::runningUnitTests() app()->runningUnitTests()
Laurence Feb 18 '13 at 16:43 2013-02-18 16:43
source share