App Config Reference
The app config is located at
app/config/app.php
. These options control core application functionality.Control whether or not the container is compiled.
There is no corresponding configuration option for this value in the
app/config
definitions because this option is applied before the application container (and configuration) is loaded.Possible Values
Default Value
Environment Variable
false
or <unset>
<unset>
COMPILE_CONTAINER
The format used for rendering dates in the application views.
Possible Values
Default Value
Environment Variable
Enable application debugging and display error messages.
It is recommended that debug remains OFF unless troubleshooting an issue. Leaving this enabled WILL cause leakage of sensitive server information.
Possible Values
Default Value
Environment Variable
true
or false
false
APP_DEBUG
Parse and render
README
files on the page.Possible Values
Default Value
Environment Variable
true
or false
true
DISPLAY_READMES
Your Google analytics tracking ID.
Possible Values
Default Value
Environment Variable
A string in the format of
UA-123456789-0
or false
to disablefalse
GOOGLE_ANALYTICS_ID
File containing hidden file definitions. Will be merged with definitions from the 'hidden_files' configuration option.
Possible Values
Default Value
Environment Variable
A path (string) to a file
.hidden
HIDDEN_FILES_LIST
Array of hidden file definitions. Will be merged with definitions in the file defined in the
hidden_files_list
configuration option. Supports glob patterns (e.g. *.txt
, file.{yml,yaml}
, etc.).Possible Values
Default Value
Example
An array of paths (strings)
[]
(an empty array)'hidden_files' => [
'somefile.txt', // Matches 'somefile.txt' exactly
'README.*', // Matches files named 'README' with any file extension
'foo/*', // Matches all files in the 'foo' directory
'schema.{ya?ml}', // Matches 'schema.yml' or 'schema.yaml'
]
Hide application specific files/directories (i.e.
index.php
and the app
folder).Possible Values
Default Value
Environment Variable
true
or false
true
HIDE_APP_FILES
Hide dot files/directories from the listing.
Possible Values
Default Value
Environment Variable
true
or false
true
HIDE_DOT_FILES
Hide the files Version Control Systems (i.e. Git and Mercurial) use to store their metadata.
Possible Values
Default Value
Environment Variable
true
or false
true
HIDE_VCS_FILES
Text of the
home
link in the navigation breadcrumbs. If undefined or null
will use the translated form of "home" from your selected language.Possible Values
Default Value
Environment Variable
Any string
null
HOME_TEXT
The application's interface language.
Possible Values
Default Value
Environment Variable
Your Matomo analytics site ID.
Possible Values
Default Value
Environment Variable
A Matomo analytics site ID (string)
false
MATOMO_ANALYTICS_SITE_ID
Your Matomo analytics URL.
Possible Values
Default Value
Environment Variable
A Matomo analytics URL (string)
false
MATOMO_ANALYTICS_URL
The maximum file size (in bytes) that can be hashed. This helps to prevent timeouts for excessively large files.
The larger a file is the longer it will take to calculate hashes for that file.
Possible Values
Default Value
Environment Variable
Meta tag description (i.e.
<meta name="description">
) text.Possible Values
Default Value
Environment Variable
Any string
Yet another directory listing, powered by Directory Lister.
META_DESCRIPTION
Show READMEs before the file listing.
Possible Values
Default Value
Environment Variable
true
or false
false
READMES_FIRST
When enabled, reverses the order of files (after sorting is applied).
Possible Values
Default Value
Environment Variable
true
or false
false
REVERSE_SORT
The title of your directory listing. This will be displayed in the browser tab/title bar along with the current path.
Possible Values
Default Value
Environment Variable
Any string
Directory Lister
SITE_TITLE
Sorting order of files and folders. Can be one of several predefined values or a custom anonymous function.
When using an anonymous function it must be wrapped in a
\DI\value()
function. The anonymous function receives two \SplFileInfo
objects as arguments and expects an integer to be returned.'sort_order' => \DI\value(
function (SplFileInfo $file1, SplFileInfo $file2) {
return strcmp($file1->getRealPath(), $file2->getRealPath());
})
);
Possible Values
Default Value
Environment Variable
type
, natural
, name
, accessed
, changed
, modified
, <anonymous function>
type
SORT_ORDER
Time zone used for date formatting.
Possible Values
Default Value
Environment Variable
The server's timezone
TIMEZONE
Enable downloading of directories as a zip archive.
Possible Values
Default Value
Environment Variable
true
or false
true
ZIP_DOWNLOADS