Download the PHP package telehost/jarvis-client without Composer
On this page you can find all versions of the php package telehost/jarvis-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download telehost/jarvis-client
More information about telehost/jarvis-client
Files in telehost/jarvis-client
Package jarvis-client
Short Description Jarvis monitoring agent client for Laravel — expose health metrics to the Jarvis autonomous monitoring agent via a standardized /jarvis/health endpoint
License MIT
Homepage https://github.com/telehostca/jarvis-client-php
Informations about the package jarvis-client
Jarvis Client for Laravel
Expose your Laravel app to Jarvis — the autonomous monitoring agent that watches your infrastructure and alerts you via WhatsApp when things go wrong.
What it does
Jarvis is an AI agent that polls your app every 15 minutes and asks "is everything OK?". If anything is off — queue backlog, dropped users, rising error rate, failed jobs — it sends you a WhatsApp message with evidence-based suggestions.
This package exposes a standardized /jarvis/health endpoint that Jarvis polls. You define what metrics to expose, the package handles the rest (auth, formatting, error isolation).
Why you want it
| Without Jarvis | With Jarvis |
|---|---|
| You SSH in to check if things are OK | Jarvis tells you via WhatsApp when they're not |
| Errors pile up until users complain | Jarvis catches trends before customers notice |
| You learn Grafana/Prometheus | You define 5 closures and you're done |
| $50+/month for Datadog | Free tier, $19/mo Pro, with WhatsApp alerts in Spanish |
Installation
Publish the config:
Quick Start
1. Get your token from https://jarvis.telehost.net/dashboard (register your app → copy token)
2. Set it in your .env:
3. Edit config/jarvis.php:
4. That's it. Jarvis will start monitoring within minutes.
Verify locally:
You should see:
Advanced
Custom route path
Or disable auto-registration and define it yourself:
Per-request middleware
Dynamic metric registration
From a service provider:
Error isolation
If any metric closure throws, only that metric fails — the rest continue:
Jarvis handles the error gracefully and reports it to you.
What Jarvis expects
Your closures can return:
- Scalars:
int,float,string,bool -
Arrays (for grouped metrics):
- null (metric skipped this cycle)
For alerts, return:
['severity' => 'info'|'warning'|'critical', 'message' => 'Human-readable text']- Or
null(no alert)
Security
- The endpoint is protected by a bearer token (NEVER commit it)
- Only Jarvis has the token — anyone else gets 401
- Use HTTPS in production (Laravel defaults to it behind most load balancers)
- Rotate the token anytime from the dashboard
Common metrics to expose
Tailor to your business, but here are patterns that work well:
Testing
License
MIT. See LICENSE.md.
Who builds this
TeleHost C.A. — a Venezuelan infrastructure company that got tired of paying $50+/month for monitoring and built its own.
- Website: https://jarvis.telehost.net
- Issues: https://github.com/telehostca/jarvis-client-php/issues
- Related: @telehost/jarvis-client (Node.js version)
All versions of jarvis-client with dependencies
illuminate/contracts Version ^10.0|^11.0|^12.0
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/http Version ^10.0|^11.0|^12.0