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:

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

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


The post Access Laravel Pulse Data as a JSON API appeared first on Laravel News.

Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.