2_8_Configuration - OpenISDM/VMS GitHub Wiki

The configuration provides changing setting for system administrator without modifying the code. The config files are PHP files that are stored in config/ (here). Some configurations are retrieved from environment variables on OS. As a result, the configuration can be modified by changing the environment variables.

vms.php

The configuration file is used by VMS project.

It contains the following settings.

  • frontendHost: The frontend host URL. Example, https://openisdm.github.io/volunteer
  • emailVerificationExpired: The email verification code expired time in hours.
  • avatarRootPath: The avatar image's stored path.
  • avatarHost: The avatar image's store host URL.
  • emailVerificationUrl: The email verification URL.
  • passwordResetUrl: The password resetting URL.

api.php

This configuration file is used by Dingo API packages. It configures the Dingo API functions, like response transformation and request format.

constants.php

The configuration file is used by []

jwt.php