Download the PHP package codebros-nl/monitoring-client without Composer

On this page you can find all versions of the php package codebros-nl/monitoring-client. 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-client

codebros-nl/monitoring-client

Ships Laravel application telemetry — requests, exceptions, slow queries, jobs, cache hit/miss, scheduled task runs, and outgoing HTTP calls — to the CodeBros portal's monitoring dashboard.

It reuses Laravel Pulse as infrastructure only: Pulse's Ingest buffering contract and the pulse:work flush loop. It does not use Pulse's dashboard or most of its built-in recorders — those are optimized for lightweight sampled aggregates, not the full per-event detail (HTTP status codes, job success/failed/retried, scheduled task health) the portal needs. Instead, custom recorders capture that detail and buffer it the same way Pulse does, and a custom Ingest implementation batches it to the portal over HTTP instead of writing to a local database.

Installation

Publish the config file:

Configuration

Set these in the client app's .env — the token comes from the portal's project Monitoring tab ("Monitoring-app toevoegen"):

Telemetry is buffered in the application's default cache store between requests/jobs. The cache store must be one that persists across processes (file, database, redis, memcached) — array will silently drop everything, since it never leaves the current process. Set MONITORING_CACHE_STORE to point at a specific store if the app's default cache driver isn't suitable.

Running the flush loop

Buffered telemetry is only sent to the portal when something calls Pulse::digest(). Run Laravel Pulse's own pulse:work command as a supervised background process — this package doesn't ship its own command, it rides on Pulse's:

Under Supervisor (or an equivalent process manager), matching how you'd run pulse:work for stock Pulse:

Restart it after deploys the same way you would pulse:work:

What gets sent

Table (portal side) Source
monitoring_requests Custom recorder — every request, with status code
monitoring_exceptions Custom recorder — class, message, context, trace
monitoring_queries Pulse's SlowQueries recorder, threshold: 0
monitoring_jobs Custom recorder — success/failed/retried, queue
monitoring_cache Pulse's CacheInteractions recorder
monitoring_scheduled_tasks Custom recorder — Pulse ships none for this
monitoring_outgoing_requests Custom recorder — every HTTP client call, with status

Not captured, by design: full request/response payloads, and any user-level tracking (matches the portal's own privacy scope).

Development

Uses Orchestra Testbench to boot a minimal Laravel app for tests; no external services required.


All versions of monitoring-client with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^11.0|^12.0|^13.0
laravel/pulse Version ^1.0
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 codebros-nl/monitoring-client contains the following files

Loading the files please wait ...