Access Laravel Pulse Data as a JSON API

Access Laravel Pulse Data as a JSON API

Access Laravel Pulse Data as a JSON API

– The Pulse API package by Roberto Gallea gives you all the data available in Laravel Pulse as a JSON API

– This package defines two API endpoints for getting Pulse data. 

– These API endpoints are protected using a configurable Pulse middleware for authorization:

/api/pulse
/api/pulse/{$type}
Access Laravel Pulse Data as a JSON API

The /api/pulse/{$type} endpoint works with the following metric types provided by Pulse:

  • servers
  • usage
  • queues
  • cache
  • slow_queries
  • exceptions
  • slow_requests
  • slow_jobs
  • slow_outgoing_requests

– You can learn more about this package, get full installation instructions, and view the source code on GitHub.

All Comments