PHPackages                             creemedia/cakebrake4 - 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. creemedia/cakebrake4

ActiveCakephp-plugin[Logging &amp; Monitoring](/categories/logging)

creemedia/cakebrake4
====================

CakePHP-4.x Airbrake plugin

1.0.2(5y ago)032.5k↑16.7%MITPHPPHP &gt;=7.2

Since Oct 25Pushed 5y agoCompare

[ Source](https://github.com/creemedia/cakebrake4)[ Packagist](https://packagist.org/packages/creemedia/cakebrake4)[ Docs](https://creemedia.com)[ RSS](/packages/creemedia-cakebrake4/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (4)Used By (0)

README
======

[](#readme)

CakePHP 4 Airbrake plugin
-------------------------

[](#cakephp-4-airbrake-plugin)

Inspiration
-----------

[](#inspiration)

This packages is inspired by not maintained CakePHP 3 package [hrisShick/AirbrakeCake](https://github.com/chrisShick/AirbrakeCake)

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

[](#requirements)

This plugins has been developed for cakephp &gt;=4.0 and PHP &gt;=7.2

### How do I get set up?

[](#how-do-i-get-set-up)

Add in Composer file:

`composer require creemedia/cakebrake4`

create &lt;PROJECT\_NAME&gt;/config/airbrake\_options.php

READ:

-
-

add options like:

```
return [
  'AirbrakeOptions' => [
    'project_id' => '',
    'project_api_key' => '',
    // deploy config
    'environment' => '',
    'revision' => '',
    'username' => '',
    'repository' => '', // change to your own, example [https://github.com/airbrake/airbrake;]
    'revision' => '', // example exec('git rev-parse HEAD'),
  ]
];

```

You can add **revision** to track different versions of your application.

Application.php

Load plugin in bootstrap() method before call parent::bootstrap()

```
    public function bootstrap(): void
    {
        $this->addPlugin('Creemedia/CakeBrake4');

        // Call parent to load bootstrap from files.
        parent::bootstrap();
		// ...
	}

```

bootstrap.php

If you are loading the environment property in your **airbrake\_options.php** from another config file, load *airbrake\_options* afterwards.

```
	Configure::load('airbrake_options', 'default');

	$isCli = php_sapi_name() === 'cli';
	if ($isCli) {
		(new ConsoleErrorHandler(Configure::read('Error')))->register();
	} else {
		if (!Configure::read('debug')) {
			(new \Creemedia\CakeBrake4\Error\AirbrakeHandler(Configure::read('Error')))->register();
		} else {
			(new ErrorHandler(Configure::read('Error')))->register();
		}
	}

```

DeployTracking command.

```
	bin/cake airbrake_deploy_tracking

```

### Contribution guidelines

[](#contribution-guidelines)

- Writing tests
- Code review
- Other guidelines

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~3 days

Total

2

Last Release

2023d ago

### Community

Maintainers

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

---

Top Contributors

[![jojomartius](https://avatars.githubusercontent.com/u/8529718?v=4)](https://github.com/jojomartius "jojomartius (3 commits)")[![nparadzik](https://avatars.githubusercontent.com/u/65295766?v=4)](https://github.com/nparadzik "nparadzik (1 commits)")

### Embed Badge

![Health badge](/badges/creemedia-cakebrake4/health.svg)

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

###  Alternatives

[kouz/laravel-airbrake

Laravel service provider for Airbrake https://github.com/airbrake/phpbrake

26298.1k](/packages/kouz-laravel-airbrake)[lordsimal/cakephp-sentry

Sentry plugin for CakePHP

12270.3k](/packages/lordsimal-cakephp-sentry)[josegonzalez/php-error-handlers

PHP Library that includes wrappers for popular error handling services

3027.1k1](/packages/josegonzalez-php-error-handlers)

PHPackages © 2026

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