PHP

Integrate Inspector in generic PHP scripts or applications.

Introduction

The Inspector PHP package sends performance metrics and errors to your Inspector account. It has a simple API which allows you to instrument any application or PHP script.

How does the package works?

The package can be used to wrap your application execution cycles to measure their duration and metadata (like the DB statements), as well as HTTP related information (like the URL, parameters, headers, etc).

These events, called Transactions and Segments, are sent to our ingestion API. Our data ingestion system converts and store them to provides you insight into latency issues and error culprits within your application.

If your application is built on top of the Laravel framework you could use the offcial Inspector Laravel package.