1. Go to this page and download the library: Download devpulse/laravel library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
use DevPulse\Laravel\DevPulseFacade as DevPulse;
// Breadcrumbs — recent activity leading up to an error
DevPulse::addBreadcrumb('user reached payment step', 'checkout');
// Tags — short, indexable key/value pairs
DevPulse::setTag('tenant', $tenant->slug);
// Context — a named group of structured data
DevPulse::setContext('checkout', ['cart_id' => $cart->id, 'total' => $cart->total]);