PHPackages                             fixstack/laravel - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. fixstack/laravel

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

fixstack/laravel
================

Laravel SDK for FixStack — AI-powered error monitoring and debugging

00PHP

Since Feb 14Pushed 4mo agoCompare

[ Source](https://github.com/azharkharl/fixstack)[ Packagist](https://packagist.org/packages/fixstack/laravel)[ RSS](/packages/fixstack-laravel/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

FixStack Laravel SDK
====================

[](#fixstack-laravel-sdk)

AI-powered error monitoring for Laravel applications. Captures exceptions and sends them to the [FixStack](https://fixstack.dev) platform for automated root cause analysis.

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

[](#requirements)

- PHP 8.1+
- Laravel 10, 11, or 12

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

[](#installation)

```
composer require fixstack/laravel
```

The service provider is auto-discovered — no manual registration needed.

Configuration
-------------

[](#configuration)

1. Add your credentials to `.env`:

```
FIXSTACK_API_KEY=pk_your_api_key_here
FIXSTACK_ENDPOINT=https://app.fixstack.dev
```

2. (Optional) Publish the config file:

```
php artisan vendor:publish --tag=fixstack-config
```

3. Test the connection:

```
php artisan fixstack:test
```

Usage
-----

[](#usage)

The SDK automatically captures all unhandled exceptions. No code changes required.

### Breadcrumbs

[](#breadcrumbs)

Track user actions leading up to an error:

```
use FixStack\Laravel\FixStack;

FixStack::breadcrumb('User clicked checkout', 'user-action');
FixStack::breadcrumb('Payment processing started', 'payment');
FixStack::breadcrumb('Stripe API called', 'http');
```

Breadcrumbs are attached to the next error that occurs and provide context for AI analysis.

### What Gets Captured

[](#what-gets-captured)

Each error report includes:

- **Exception**: class name, message, full stack trace
- **Request**: URL, HTTP method, headers, body (sensitive fields redacted)
- **User**: authenticated user ID and email
- **App**: Laravel version, PHP version, environment
- **Breadcrumbs**: recent actions leading up to the error

Configuration Options
---------------------

[](#configuration-options)

OptionEnv VariableDefaultDescription`enabled``FIXSTACK_ENABLED``true`Enable/disable error reporting`endpoint``FIXSTACK_ENDPOINT``https://app.fixstack.dev`Platform API URL`api_key``FIXSTACK_API_KEY`—Project API key (from Settings)`async``FIXSTACK_ASYNC``true`Send errors via queue (recommended)`queue_connection``FIXSTACK_QUEUE``null`Queue connection (null = default)`sample_rate``FIXSTACK_SAMPLE_RATE``1.0`0.0–1.0, percentage of errors to report`environments`—`['production', 'staging']`Only report in these environments`timeout`—`5`HTTP timeout in seconds### Ignored Exceptions

[](#ignored-exceptions)

By default, the following exceptions are not reported:

- `Illuminate\Auth\AuthenticationException`
- `Illuminate\Validation\ValidationException`
- `Symfony\Component\HttpKernel\Exception\NotFoundHttpException`

Customize in `config/fixstack.php`:

```
'ignored_exceptions' => [
    \Illuminate\Auth\AuthenticationException::class,
    \Illuminate\Validation\ValidationException::class,
    \Symfony\Component\HttpKernel\Exception\NotFoundHttpException::class,
    \App\Exceptions\IgnoredException::class, // your own
],
```

### Data Sanitization

[](#data-sanitization)

Sensitive data is automatically redacted before sending. Configure patterns in `config/fixstack.php`:

```
// Headers containing these strings are redacted
'sanitize_headers' => ['authorization', 'cookie', 'x-api-key'],

// Body fields containing these strings are redacted
'sanitize_body' => ['password', 'token', 'secret', 'credit_card', 'ssn'],
```

Async vs Sync
-------------

[](#async-vs-sync)

**Async (default):** Errors are sent via a queued job. Zero performance impact on your application. Requires a queue worker running (`php artisan queue:work`).

**Sync:** Errors are sent immediately during the request. Useful for testing or when no queue is available. Set `FIXSTACK_ASYNC=false`.

License
-------

[](#license)

MIT

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance51

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a3073ad8e6f8745d6a3615046cd5c1b0595610abeeec0a36bb1b84e2a9aeae43?d=identicon)[azharkharl](/maintainers/azharkharl)

---

Top Contributors

[![azhar4xportal](https://avatars.githubusercontent.com/u/88881516?v=4)](https://github.com/azhar4xportal "azhar4xportal (4 commits)")

### Embed Badge

![Health badge](/badges/fixstack-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/fixstack-laravel/health.svg)](https://phpackages.com/packages/fixstack-laravel)
```

###  Alternatives

[fjogeleit/prometheus-messenger-middleware

Prometheus Middleware for the Symfony Messenger Component

2255.2k](/packages/fjogeleit-prometheus-messenger-middleware)[spatie/craft-ray

Easily debug CraftCMS projects

1638.6k](/packages/spatie-craft-ray)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
