PHPackages                             devsquad-cockpit/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. devsquad-cockpit/laravel

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

devsquad-cockpit/laravel
========================

A Freemium package to help you tracking the project errors

v3.0.8(1y ago)0142.4k↓76.6%1MITPHPPHP ^8.2

Since Jan 6Pushed 1y ago2 watchersCompare

[ Source](https://github.com/devsquad-cockpit/laravel)[ Packagist](https://packagist.org/packages/devsquad-cockpit/laravel)[ RSS](/packages/devsquad-cockpit-laravel/feed)WikiDiscussions develop Synced 3d ago

READMEChangelog (10)Dependencies (9)Versions (22)Used By (0)

 [![Cockpit](https://github.com/devsquad-cockpit/laravel/raw/develop/cockpit-logo.png?raw=true "Cockpit")](https://github.com/devsquad-cockpit/laravel/blob/develop/cockpit-logo.png?raw=true)

 [ ![DevSquad](https://github.com/devsquad-cockpit/laravel/raw/develop/devsquad-logo.png?raw=true "DevSquad") ](https://devsquad.com)

Cockpit is a beautiful error tracking package that will help your software team to track and fix errors.

Table Of Compatibility
----------------------

[](#table-of-compatibility)

Laravel VersionCockpit Version^10^2.0^11^3.0#### Now you can install the package:

[](#now-you-can-install-the-package)

```
composer require devsquad-cockpit/laravel
```

#### Run the following command to install the package files:

[](#run-the-following-command-to-install-the-package-files)

```
php artisan cockpit:install
```

#### Configuring cockpit connection

[](#configuring-cockpit-connection)

After the installation, you should configure the connection with cockpit main application. Open your `.env` file and check for this new env vars:

```
COCKPIT_DOMAIN=
COCKPIT_ENABLED=
COCKPIT_TOKEN=
```

**`COCKPIT_DOMAIN`**: You must set your cockpit domain on this var. This way, our package will know where it should send the error data. If your cockpit instance runs on a port different than the 80 or 443, you should add it too. E.g.: `http://cockpit.mydomain.com:9001`.

**`COCKPIT_ENABLED`**: With this var, you can control if cockpit features will be available or not.

**`COCKPIT_TOKEN`**: On this var, you should set the project token. With this, you instruct cockpit in which project the errors will be attached.

Reporting unhandled exceptions
------------------------------

[](#reporting-unhandled-exceptions)

You need to add the Cockpit as a log-channel by adding the following config to the channels section in config/logging.php:

```
'channels' => [
    // ...
    'cockpit' => [
        'driver' => 'cockpit',
    ],
],
```

After that you need to fill it on `LOG_STACK` env:

```
LOG_STACK=cockpit
```

Testing if everything works
---------------------------

[](#testing-if-everything-works)

By the end you're being able to send a fake exception to test connection

```
php artisan cockpit:test
```

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance45

Moderate activity, may be stable

Popularity32

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 57.7% 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.

###  Release Activity

Cadence

Every ~44 days

Recently: every ~20 days

Total

20

Last Release

428d ago

Major Versions

v2.0.3 → v3.0.02024-03-13

v2.0.5 → v3.0.22024-03-29

v2.0.6 → v3.0.32024-05-30

v2.0.7 → v3.0.62025-02-11

2.0.8 → v3.0.72025-03-06

PHP version history (4 changes)1.0.0PHP ^7.3|^7.4|^8.0|^8.1

v2.0.1PHP ^8.1

v3.0.0PHP ^8.2

v3.0.1PHP ^8.2|^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/737d15503c2277f2e6f023c1ddb827b2524e7e23dde1f97310cf3bc4a2aba02e?d=identicon)[teamdevsquad](/maintainers/teamdevsquad)

---

Top Contributors

[![matheus-santos-devsquad](https://avatars.githubusercontent.com/u/76975907?v=4)](https://github.com/matheus-santos-devsquad "matheus-santos-devsquad (363 commits)")[![devsquad-andre-lunelli](https://avatars.githubusercontent.com/u/112574650?v=4)](https://github.com/devsquad-andre-lunelli "devsquad-andre-lunelli (77 commits)")[![z4nder](https://avatars.githubusercontent.com/u/39275291?v=4)](https://github.com/z4nder "z4nder (66 commits)")[![devsquad-alvaro-meireles](https://avatars.githubusercontent.com/u/98560934?v=4)](https://github.com/devsquad-alvaro-meireles "devsquad-alvaro-meireles (61 commits)")[![luanfreitasdev](https://avatars.githubusercontent.com/u/33601626?v=4)](https://github.com/luanfreitasdev "luanfreitasdev (19 commits)")[![hecktorvn](https://avatars.githubusercontent.com/u/24227477?v=4)](https://github.com/hecktorvn "hecktorvn (18 commits)")[![devsquad-gustavo](https://avatars.githubusercontent.com/u/85520728?v=4)](https://github.com/devsquad-gustavo "devsquad-gustavo (11 commits)")[![andreluizlunelli](https://avatars.githubusercontent.com/u/16464118?v=4)](https://github.com/andreluizlunelli "andreluizlunelli (7 commits)")[![devsquad-eduardo-barijan](https://avatars.githubusercontent.com/u/103602376?v=4)](https://github.com/devsquad-eduardo-barijan "devsquad-eduardo-barijan (3 commits)")[![devajmeireles](https://avatars.githubusercontent.com/u/60591772?v=4)](https://github.com/devajmeireles "devajmeireles (3 commits)")[![iammayron](https://avatars.githubusercontent.com/u/7702807?v=4)](https://github.com/iammayron "iammayron (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.7M223](/packages/backpack-crud)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[spatie/flare-client-php

Send PHP errors to Flare

177161.5M23](/packages/spatie-flare-client-php)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

783.8k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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