Error logging in PHP

Creating a PHP app on Opbeat

  1. On the New App page, fill out a name and choose a deployment method. Don’t mind the chosen software stack yet.
  2. Click “Create app”
  3. Click the settings icon in the header and go to the app settings
  4. Select “Custom” from the Stack dropdown and click save
  5. Follow the setup instructions below

For general PHP

Simple PHP module for logging errors with Opbeat.

GitHub repo: madsleejensen/opbeat-php

Module originally created by @madsleejensen and maintained by @egeriis.

For Drupal

A Drupal module for logging errors to Opbeat also exists.

Read more in the article Error Logging in Drupal.