PHPackages                             keplog/php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. keplog/php

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

keplog/php
==========

Keplog SDK for PHP and Laravel - Error tracking and monitoring

061↓40%PHPCI failing

Since Jan 1Pushed 6mo agoCompare

[ Source](https://github.com/keplog-tracker/keplog-php)[ Packagist](https://packagist.org/packages/keplog/php)[ RSS](/packages/keplog-php/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Keplog PHP SDK
==============

[](#keplog-php-sdk)

[![Tests](https://camo.githubusercontent.com/2cae4ddaefc4eb96ea76ca8519f10fa3d78e8d0e48978215594ca6f2c7131a91/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f74657374732d39342532307061737365642d73756363657373)](https://github.com/keplog/php-sdk)[![PHP Version](https://camo.githubusercontent.com/6518db1335bf20fdff07253dc6d6d0cec955b5fb6a8ef1382ac6d73687ecc07f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e312d626c7565)](https://www.php.net/)[![License](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)](LICENSE)

Official PHP SDK for [Keplog](https://keplog.io) - Real-time error tracking and monitoring for PHP applications.

Features
--------

[](#features)

- ✅ **Automatic Error Capture** - Capture exceptions automatically
- ✅ **Enhanced Stack Frames** - Code snippets with vendor/app classification ([Read more](ENHANCED_STACK_FRAMES.md))
- ✅ **Context Separation** - Automatic separation of system vs user-defined context ([Read more](docs/RESERVED_CONTEXT_KEYS.md))
- ✅ **Laravel 11 &amp; 12 Support** - First-class support with bootstrap/app.php ([Read more](docs/LARAVEL_12_INTEGRATION.md))
- ✅ **Request Context** - Automatically capture HTTP request details
- ✅ **User Tracking** - Track authenticated users with errors
- ✅ **Breadcrumbs** - Track user actions leading up to errors
- ✅ **Queue Job Tracking** - Monitor failed queue jobs
- ✅ **Custom Tags &amp; Context** - Add metadata to errors
- ✅ **beforeSend Hooks** - Filter or modify events before sending
- ✅ **Zero Dependencies** - Only requires Guzzle HTTP client
- ✅ **Silent Failures** - SDK errors never crash your application
- ✅ **Full Test Coverage** - 94 comprehensive tests

Requirements
------------

[](#requirements)

- PHP 8.1 or higher
- Composer
- Guzzle HTTP Client 7.x

Installation
------------

[](#installation)

Install via Composer:

```
composer require keplog/php
```

Quick Start
-----------

[](#quick-start)

### Standalone PHP

[](#standalone-php)

```
