Skip to content
spectivis.com

Noctora

Moving from Laravel Nightwatch

Point an app that reports to Laravel Nightwatch at Noctora by changing two environment variables.

Noctora works with the same laravel/nightwatch package you already run. Moving an app means changing two lines in its .env and restarting the agent. Your code doesn’t change.

  1. Create an Application in Noctora with the same Environments, and a token for each. Getting started walks through it.

  2. In each Environment’s .env, replace the token with the one from Noctora and add Noctora’s URL:

    NIGHTWATCH_TOKEN=your-noctora-environment-token
    NIGHTWATCH_BASE_URL=https://noctora.spectivis.com/app
  3. If you cache config, set NIGHTWATCH_BASE_URL as a real environment variable for the agent and your deploy script. See Running the agent.

  4. Restart the agent so it signs in with the new token. Under Supervisor or systemd:

    Terminal window
    sudo supervisorctl restart nightwatch-agent
    # or
    sudo systemctl restart nightwatch-agent
  5. Run php artisan about and open the Environment’s Requests page in Noctora.

Each Environment reports to one place, with one token and one base URL. Switch staging first if you want to try Noctora before moving production.

  • The package. Noctora is tested against the newest laravel/nightwatch 1.x release every week.
  • The package’s settings for sampling, filtering and redaction.
  • Deployments. php artisan nightwatch:deploy marks a Deployment in Noctora too.
  • History. Noctora starts from the first delivery it receives and can’t import data from Laravel Nightwatch.
  • Accounts. You sign in with a Spectivis account, and Organizations, members and roles are managed in Spectivis Accounts.
  • Alerts. Alerts are emails, one digest per person, at most one every 30 minutes.
  • Issues. Besides exceptions, Noctora opens an Issue when a request, job, command or scheduled task runs slower than its Threshold, and when a scheduled task misses a run.
  • Retention. Individual Records are kept for 30 days, and charts go back 90 days.
© 2026 Spectivis Technologies Inc.TermsPrivacyRefundsAcceptable use