Production

  1. Serve the app over HTTPS at its own host (say https://checkin.example.com), APP_URL=https://checkin.example.com, APP_ENV=production, APP_DEBUG=false, SESSION_SECURE_COOKIE=true.
  2. php artisan passport:keys once; back the keys up (they sign every ID token; losing them logs everybody out, leaking them lets anyone forge identities).
  3. php artisan migrate --force, then php artisan checkin:admin you@ap.it and add a passkey immediately.
  4. php artisan checkin:client … for each application; set the application's CHECKIN_*.
  5. Add the cron entry for the scheduler (passport:purge, model:prune for the audit log and the updater run from it); configure the mailer; keep storage/ out of git and out of the web root.
  6. Hardening: rate limits (login, two-factor, passkeys, oauth-token) are in the providers, brute-force locks in CHECKIN_LOCK_*; keep CHECKIN_REQUIRE_SECOND_FACTOR=admins (or everyone).

Details and a checklist: docs/deployment.md.