Configuration (.env)
The installer writes .env, in Qorekit's folder, with everything an installation needs. You rarely need to change it. Edit it with your panel's file manager; the change applies from the next request.
Keep .env private
.env holds the database password and the application key. Never share it, and make sure it cannot be downloaded: Administration › System checks this.
Site
| Setting | Meaning |
|---|---|
APP_URL | The site address, such as https://crm.example.com. Change it after moving the site or switching to https |
APP_NAME | The site name |
APP_DEBUG | false on a live site. true shows error details meant for developers |
APP_KEY | Signs sessions and cookies. Made by the installer; changing it signs everyone out |
SESSION_LIFETIME | Minutes of inactivity before someone is signed out (default 120) |
Database
DB_CONNECTION (mysql, mariadb or pgsql), DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME, DB_PASSWORD and DB_PREFIX. Change them when the database moves; the engine cannot change after installation.
Qorekit
| Setting | Default | Meaning |
|---|---|---|
QOREKIT_INSTALLED | Set by the installer. Until it is true, every page opens the installation wizard | |
QOREKIT_AUTO_MIGRATE | true | After new files are copied in, the first request brings the database up to date. Turn off only where deployments run php artisan migrate themselves |
QOREKIT_WEB_CRON | true | Without a cron job, run scheduled work after page requests. See scheduled work |
QOREKIT_UPDATE_FEED | https://qorekit.com/releases/core.json | Where Qorekit looks for new versions |
QOREKIT_UPDATE_PRERELEASES | true offers test versions, false never does. Unset, test versions are offered only to an installation that runs one | |
QOREKIT_UPDATE_KEYS | Extra public keys for update signatures, comma separated. Only for testing release packages of your own |
Demo
QOREKIT_DEMO, QOREKIT_DEMO_RESET_HOURS, QOREKIT_DEMO_EMAIL and QOREKIT_DEMO_PASSWORD turn an installation into a public demo. See a public demo.
Email
Qorekit does not send email yet. The MAIL_* settings are there for when it does.