Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 2 KB

configuration.md

File metadata and controls

40 lines (27 loc) · 2 KB

Configuration

The configuration files are located at /confg.

Bones app configuration documentation can be found here.

App

The app.php file includes configuration required by Bones.

In addition, this file also contains the following keys:

  • backup_path - The backup_path key specifies the path where deployment backups will be saved on the server. This key must exist in order to use the deployment-related console commands.
  • locale.valid - Array of valid translation locales
  • locale.default - Default translation locale used by the app
  • locale.cookie.name - Name of cookie and URL query used to save locale preference
  • locale.cookie.duration - Duration (in minutes) locale cookie is valid
  • locale.routes.update - Boolean value whether to update routes to include locale
  • locale.routes.exclude.hosts - Array of hosts to exclude from being handled by the handleLocale event subscriber.
  • locale.routes.exclude.paths - Array of paths to exclude from being handled by the handleLocale event subscriber.
  • locale.routes.exclude.param - Single parameter which, if existing, will exclude the route from being handled by the handleLocale event subscriber.
  • version - Current app version (string)

Router

The config file router.php exists for the Router service.

Scheduler

The config file scheduler.php exists for the Scheduler service.

Veil

The config file veil.php exists for the Veil service.