PHPackages                             error-tracker/cake-log-target - 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. error-tracker/cake-log-target

ActiveLibrary

error-tracker/cake-log-target
=============================

Error logging to Error Tracker

v0.0.3(6y ago)11.3k[1 issues](https://github.com/error-tracker/cake-log-target/issues)BSD-3-ClausePHPCI failing

Since Dec 11Pushed 6y ago4 watchersCompare

[ Source](https://github.com/error-tracker/cake-log-target)[ Packagist](https://packagist.org/packages/error-tracker/cake-log-target)[ RSS](/packages/error-tracker-cake-log-target/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (4)Versions (4)Used By (0)

[Error Tracker](https://error-tracker.com) Cake PHP Log Target
==============================================================

[](#error-tracker-cake-php-log-target)

[![Build Status](https://camo.githubusercontent.com/82240e64aeb451306a01358ba602ed65c83f493b4bfb84be0a3a9a89ed8454ff/68747470733a2f2f7472617669732d63692e6f72672f6572726f722d747261636b65722f63616b652d6c6f672d7461726765742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/error-tracker/cake-log-target)[![Packagist](https://camo.githubusercontent.com/9bc7b66332610f2128df8150e6183c5e971b9b1d8e14881e901ccf4c0744f6f7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6572726f722d747261636b65722f63616b652d6c6f672d746172676574)](https://packagist.org/packages/error-tracker/cake-log-target)[![Packagist Version](https://camo.githubusercontent.com/07bd8907f49af4e42e150cfeeaf75bd5c6875de3b02992d1693732665ea9382b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6572726f722d747261636b65722f7068702d73646b)](https://packagist.org/packages/error-tracker/cake-log-target)

Who is this for?
----------------

[](#who-is-this-for)

This is for Cake PHP developers that need to integrate their applications with [Error Tracker](https://error-tracker.com). This extension is a log adapter for cake php to send errors and warnings direct to Error Tracker.

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

[](#installation)

Install this package with composer.

```
composer require error-tracker/cake-log-target
```

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

[](#configuration)

To configure the [log target](https://book.cakephp.org/3/en/core-libraries/logging.html#logging-configuration)in your application, add the below config to your `config/app.php`. Whenever there is a server side error this will be added to the file log as it normally would. Additionally this will be sent to the error tracker dashboard, for easy searches, alerts and other handy tools.

```
/**
 * Configures logging options
 */
'Log' => [
    'debug' => [
        'className' => 'Cake\Log\Engine\FileLog',
        'path' => LOGS,
        'file' => 'debug',
        'levels' => ['notice', 'info', 'debug'],
        'url' => env('LOG_DEBUG_URL', null),
    ],
    'error' => [
        'className' => 'Cake\Log\Engine\FileLog',
        'path' => LOGS,
        'file' => 'error',
        'levels' => ['warning', 'error', 'critical', 'alert', 'emergency'],
        'url' => env('LOG_DEBUG_URL', null),
    ],
    'error_tracker' => [
        'className' => 'ErrorTracker\Cake\LogTarget',
        'levels' => ['warning', 'error', 'critical', 'alert', 'emergency'],
        'app_key' => 'YOUR_APP_KEY',
    ],
],
```

Contributing
------------

[](#contributing)

### Getting set up

[](#getting-set-up)

Clone the repo and run `composer install`. Then start hacking!

### Testing

[](#testing)

All new features of bug fixes must be tested. Testing is with phpunit and can be run with the following command.

```
composer run-script test
```

### Coding Standards

[](#coding-standards)

This library uses psr2 coding standards and `squizlabs/php_codesniffer` for linting. There is a composer script for this:

```
composer run-script lint
```

### Pull Requests

[](#pull-requests)

Before creating a pull request with your changes, the pre-commit script must pass. That can be run as follows:

```
composer run-script pre-commit
```

Credits
-------

[](#credits)

This package is created and maintained by [Practically.io](https://practically.io/)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

2348d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14832454?v=4)[Ade Attwood](/maintainers/AdeAttwood)[@AdeAttwood](https://github.com/AdeAttwood)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/error-tracker-cake-log-target/health.svg)

```
[![Health](https://phpackages.com/badges/error-tracker-cake-log-target/health.svg)](https://phpackages.com/packages/error-tracker-cake-log-target)
```

###  Alternatives

[friendsofcake/cakepdf

CakePHP plugin for creating and/or rendering Pdfs, several Pdf engines supported.

3752.1M3](/packages/friendsofcake-cakepdf)[cakephp/bake

Bake plugin for CakePHP

11211.2M158](/packages/cakephp-bake)[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

338920.1k32](/packages/dereuromark-cakephp-tools)[dereuromark/cakephp-queue

The Queue plugin for CakePHP provides deferred task execution.

308850.3k14](/packages/dereuromark-cakephp-queue)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1862.1M27](/packages/dereuromark-cakephp-ide-helper)[dereuromark/cakephp-tinyauth

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

129228.6k10](/packages/dereuromark-cakephp-tinyauth)

PHPackages © 2026

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