Member-only story
Do you know that Laravel have a code execution monitoring package?
This class of tools collects relevant information about application performance, errors, and trends and gives you a visual representation of what your application is doing during its normal operation.
Today we gonna introduce a package name’s Inspector. Inspector is a composer package to add real-time code execution monitoring to your Laravel application. It allows you to work on continuous code changes while catching bugs and bottlenecks in real-time. Before users do.
It takes less than one minute to get started. Let’s see how it works.
Install the composer package
Run the composer command in your terminal:
composer require inspector-apm/inspector-laravel
Configure the Ingestion key
Get a new Ingestion key by signing up for Inspector (https://app.inspector.dev/register) and creating a new project, it only takes a few seconds.
You’ll see installation instructions directly in the app screen: