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.6k↓30%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 yesterday

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

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

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

2074d 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

[cakephp/debug_kit

CakePHP Debug Kit

86314.7M171](/packages/cakephp-debug-kit)[cakephp/bake

Bake plugin for CakePHP

11212.0M202](/packages/cakephp-bake)[dereuromark/cakephp-queue

The Queue plugin for CakePHP provides deferred task execution.

308954.9k25](/packages/dereuromark-cakephp-queue)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1882.3M44](/packages/dereuromark-cakephp-ide-helper)[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

3361.0M51](/packages/dereuromark-cakephp-tools)[dereuromark/cakephp-tinyauth

A CakePHP plugin to handle user authentication and authorization the easy way.

131240.2k13](/packages/dereuromark-cakephp-tinyauth)

PHPackages © 2026

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