Skip to content

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 ​

SettingMeaning
APP_URLThe site address, such as https://crm.example.com. Change it after moving the site or switching to https
APP_NAMEThe site name
APP_DEBUGfalse on a live site. true shows error details meant for developers
APP_KEYSigns sessions and cookies. Made by the installer; changing it signs everyone out
SESSION_LIFETIMEMinutes 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 ​

SettingDefaultMeaning
QOREKIT_INSTALLEDSet by the installer. Until it is true, every page opens the installation wizard
QOREKIT_AUTO_MIGRATEtrueAfter 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_CRONtrueWithout a cron job, run scheduled work after page requests. See scheduled work
QOREKIT_UPDATE_FEEDhttps://qorekit.com/releases/core.jsonWhere Qorekit looks for new versions
QOREKIT_UPDATE_PRERELEASEStrue offers test versions, false never does. Unset, test versions are offered only to an installation that runs one
QOREKIT_UPDATE_KEYSExtra 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.

Qorekit is free software under the GNU GPL, version 3 or later.