PHPackages                             codex-team/hawk.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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. codex-team/hawk.laravel

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

codex-team/hawk.laravel
=======================

Laravel errors Catcher module for Hawk.so

0.1.3(7mo ago)42.2k↓39.3%1[1 issues](https://github.com/codex-team/hawk.laravel/issues)AGPL-3.0-onlyPHPPHP ^7.2 || ^8.0

Since Feb 1Pushed 7mo ago3 watchersCompare

[ Source](https://github.com/codex-team/hawk.laravel)[ Packagist](https://packagist.org/packages/codex-team/hawk.laravel)[ RSS](/packages/codex-team-hawklaravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (5)Versions (12)Used By (0)

Hawk Laravel
============

[](#hawk-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b7b57f89515b17c24a3e45514d8bac6ba19ed4ecd3a0b4ca4d7be2abd495cf18/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f6465782d7465616d2f6861776b2e6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codex-team/hawk.laravel)[![PHP Version](https://camo.githubusercontent.com/dc39edca44397cdc4d21764b90f2d9b1b1115069833b2e6bdf59ce7c38af81bd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f636f6465782d7465616d2f6861776b2e6c61726176656c3f7374796c653d666c61742d737175617265)](https://www.php.net/)

Laravel error catcher for [Hawk.so](https://hawk.so).

Setup
-----

[](#setup)

---

1. [Register](https://garage.hawk.so/sign-up) an account, create a project, and get an **Integration Token**.
2. Install the SDK via [Composer](https://getcomposer.org):

    ```
    composer require codex-team/hawk.laravel
    ```

### Requirements

[](#requirements)

- PHP **7.2+**
- Laravel **11.x+**

Features
--------

[](#features)

---

- 🦅 Automatic error catching
- 💎 Manual exception and message sending
- 🙂 Attaching user information
- 📦 Attaching additional context
- 🛡️ Sensitive data filtering
- 🌟 BeforeSend hook for event preprocessing
- 🗂️ Breadcrumbs collection (routes, queries, jobs, logs)
- ⚡ Laravel 11+ support

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

[](#configuration)

---

### Enable exception capturing

[](#enable-exception-capturing)

Update your `bootstrap/app.php`:

```
