NanoFramework 1.4.0
A tiny PHP Framework
Syntax for the .env file

The .env file contains all the data that are note supposed to be versionned.

Here are the rules to write data in it:

  • Each line of the file must contain a key, the character = and a value.
  • Whitespaces are optional
  • Comments can be added on full lines or at the end of a line with the character #
  • Empty line can be present.

Working example (.env template)

# The location of your app folder relative to your index.php
APPPATH = app
# The website name to display in the title if {template_title} is used
SITE_NAME = Blog
# A unique string, used by FakeDb
FAKEDB_SECRET = ChangeMeImNotSecret
# Site URL
SITE_URL = http://localhost