Download the PHP package quendistudio/monitoring without Composer

On this page you can find all versions of the php package quendistudio/monitoring. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package monitoring

Quendistudio.Monitoring

Winter CMS plugin — reports application exceptions to a configurable HTTP webhook endpoint (JSON POST + Bearer token).

Lightweight, no external dependencies: ideal for hooking up a custom worker, n8n, Zapier, or any API that accepts JSON.

Installation

Composer (recommended)

Manual

Clone into plugins/quendistudio/monitoring, then:

Backend → SettingsMonitoring (QuendiStudio Plugins category). Full documentation is also available in the Documentation tab of the settings page.

Grant the quendistudio.monitoring.access_settings permission to the relevant administrators.

Configuration

Field Description
Enable reporting Master switch
Site identifier Unique slug (e.g. mywebsite-www) — useful for multi-site setups
Site URL Empty = APP_URL
Webhook URL Public HTTP/HTTPS endpoint only (local/private addresses rejected)
Webhook secret Key sent as Authorization: Bearer …
Deduplication (minutes) Do not resend the same error before this interval
HTTP timeout Max duration of the call (seconds)
Log lines to include Tail excerpt from storage/logs/system*.log
Log file (optional) Custom path inside storage/logs/ only
Verify SSL Off = skip certificate check (local dev). On = always verify (production)
Report console errors Includes CLI exceptions (artisan, cron)
Allow test route Debug route (see Tests)

Which exceptions are reported?

Winter’s built-in $dontReport list (in Handler.php) tells the core not to log certain exception types to the application log — it does not mean they are unimportant. This plugin hooks exception.beforeReport, which runs before that filter, so the following are included when they reach the exception handler:

Not reported: exceptions caught and handled before report() is called (expected control flow, successful validation redirects, etc.).

Sensitive data in payloads

The JSON payload is designed for automated analysis. It may contain:

Ensure the webhook endpoint and downstream services (agent, email provider) are trusted and secured. Restrict backend access to Monitoring settings.

JSON schema

Each exception triggers a POST to webhook_url with headers:

Root fields

Field Type Description
event string Always winter.exception
source string Always quendistudio.monitoring
site_id string Site identifier (settings or hostname)
site_url string Site URL
platform string Always wintercms
occurred_at string ISO 8601 timestamp
exception object Exception details (see below)
request object HTTP context (empty in CLI)
logs_tail string Last lines of the system log file
test bool Present and true only for test payloads

exception object

Field Type Description
class string Exception FQCN
message string Error message
file string Source file
line int Source line
code int Error code
trace string Stack trace (truncated per settings)

request object

Field Type Description
url string Full request URL
method string HTTP method
ip string Client IP address
user_agent string User-Agent (max 500 characters)

Example (real exception)

Example (test payload)

Same as above, plus "test": true and a simulated message.

Adapting your endpoint

The plugin sends a generic JSON format. Your endpoint (or an intermediary) is responsible for:

Integration examples:

Extension plugins for native formats (Slack, Discord, Sentry, etc.) may be developed later; this plugin deliberately focuses on the generic webhook.

Tests

Intentional exception route (Development tab):

  1. Enable Allow test route
  2. Ensure APP_DEBUG=true
  3. Open /quendistudio/monitoring/test-exception

Do not enable the test route in production.

Application flow

Appendix: Cursor Automation integration

Cursor Automations can act as a webhook receiver with a Webhook trigger:

  1. Create an automation with a Webhook trigger.
  2. Copy the URL and authentication key into Webhook URL and Webhook secret.
  3. Configure the agent prompt to analyze the JSON payload (exception, logs_tail, request).
  4. Optional: chain a second webhook (email, Resend, Slack, etc.) from the automation.

The JSON schema documented above can be used directly by the Cursor agent — no transformation on the plugin side is required.

License

MIT — see LICENCE.md.


All versions of monitoring with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package quendistudio/monitoring contains the following files

Loading the files please wait ...