Basic Configuration
phpvms configuration lives in two places:
- Admin panel —
/admin/settings. Most day-to-day settings live here. .envfile — root of your phpvms install. Holds infrastructure settings: database, mail, cache, OAuth keys.
This page covers the .env file. For admin panel settings, log in as an admin
and explore each section.
The .env file
Laravel ships configuration in PHP files under /config. phpvms overrides these
via a .env file in the install root that the installer generates for you.
Don't edit files in /config directly. Edits get overwritten on update.
Override values in .env instead — that file is preserved across updates.
See Laravel configuration for the full reference.
Environment & Debug
Two flags control whether phpvms behaves like a dev install or a production install.
APP_ENV
Set to production when going live. Default is dev.
APP_ENV=production
APP_DEBUG
Controls error verbosity. Keep true while developing — set false in
production so users don't see stack traces.
APP_DEBUG=false
DEBUG_TOOLBAR=false
After editing .env
Clear the application cache so changes take effect:
php artisan config:clear
php artisan cache:clear
If you skip this, your edits won't load.
Where to go next
| Setting | Page |
|---|---|
| Outgoing email | |
| Discord webhooks | Notifications |
| OAuth login | Discord, IVAO, VATSIM |
| Database backups | Backups |
| Cache, queues, perf | Advanced Configuration |
Language
Change the system language to any available translation. Locale codes match
folder names under phpvms/resources/lang/.
For Brazilian Portuguese, confirm phpvms/resources/lang/pt-br exists, then set
in .env:
APP_LOCALE=pt-br