codebros-nl/monitoring-client
Larablocks Analysis
codebros-nl/monitoring-client works with Laravel 11, 12 and 13 (latest release v0.1.1, Aug 20, 2026).
Recommendation checks
PromisingPromising: maintained and up to date, meets 2 of 4 checks; not yet widely used.
- Works with Laravel 13, the current version
- Released in the last 12 months (Aug 20, 2026)
- 513 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
State
Maintained- Last stable release: Aug 20, 2026.
- 2 releases in the last 12 months.
- First released: Aug 20, 2026.
- Monthly downloads: 513.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 5, 2026.
| Install | |
|---|---|
composer require codebros-nl/monitoring-client |
|
| Latest Version: | v0.1.1 |
| PHP: | ^8.1 |
| Laravel: | 11 · 12 · 13 |
| License: | proprietary |
| Last Updated: | Nov 13, 2026 |
| Links: | GitHub · Packagist |
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
composer require codebros-nl/monitoring-client
Publish the config file:
php artisan vendor:publish --tag=monitoring-client-config
Configuration
Set these in the client app's .env — the token comes from the portal's
project Monitoring tab ("Monitoring-app toevoegen"):
MONITORING_ENDPOINT=https://portal.codebros.nl/api/monitoring/ingest
MONITORING_TOKEN=the-token-shown-once-when-you-create-the-app
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:
php artisan pulse:work
Under Supervisor (or an equivalent process manager), matching how you'd
run pulse:work for stock Pulse:
[program:monitoring-client-worker]
command=php /path/to/artisan pulse:work
autostart=true
autorestart=true
user=www-data
Restart it after deploys the same way you would pulse:work:
php artisan pulse:restart
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
composer install
composer test # vendor/bin/pest
Uses Orchestra Testbench to boot a minimal Laravel app for tests; no external services required.
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v0.1.1 | ^8.1 | ^11.0| | proprietary | |
| v0.1.0 | ^8.1 | ^11.0| | proprietary |