PHPackages                             freefri/cake-databaselog - 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. [Database &amp; ORM](/categories/database)
4. /
5. freefri/cake-databaselog

ActiveCakephp-plugin[Database &amp; ORM](/categories/database)

freefri/cake-databaselog
========================

Storing CakePHP log into database.

0.1.6(2y ago)09.9kMITPHPPHP &gt;=5.4.1

Since Mar 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/freefri/cake-databaselog)[ Packagist](https://packagist.org/packages/freefri/cake-databaselog)[ Docs](https://github.com/freefri/cake-databaselog)[ RSS](/packages/freefri-cake-databaselog/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (1)Versions (7)Used By (0)

cake-databaseLog
================

[](#cake-databaselog)

Simple storing CakePHP 2.x log into a database.

This package does **not** automatically update in [packagist.org](https://packagist.org/packages/freefri/cake-databaselog)

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

[](#installation)

Add `"freefri/cake-databaselog": "dev-master",` to your *composer.json* or clone the repository into `Plugin/CakeDatabaselog`

Load the plugin in your bootstrap.php `CakePlugin::load('CakeDatabaselog');`

Create a table in your database kind of this:

```
 CREATE TABLE `log_entries` (
   `id` bigint(11) unsigned NOT NULL AUTO_INCREMENT,
   `type` varchar(50) DEFAULT NULL,
   `title` varchar(30) DEFAULT NULL,
   `message` text,
   `environment` varchar(100) DEFAULT NULL,
   `server` text,
   `created` datetime DEFAULT NULL,
   PRIMARY KEY (`id`)
 ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8;

```

Use the new engine to log in bootstrap.php

```
 CakeLog::config(
     'debug', [
         'engine' => 'CakeDatabaselog.DatabaseLog',
         'types' => ['notice', 'info', 'debug'],
         'environment' => 'production-server',
     ]
 );

```

Related projects
----------------

[](#related-projects)

You may also be interested in a more complex solution:  (those two projects are not related)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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 ~731 days

Recently: every ~912 days

Total

6

Last Release

784d ago

PHP version history (2 changes)0.1.0PHP &gt;=5.4.16

0.1.2PHP &gt;=5.4.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2754631?v=4)[freefri](/maintainers/freefri)[@freefri](https://github.com/freefri)

---

Top Contributors

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

---

Tags

cake-databaselogcake-plugincakephpcakephp-plugincakephp2databasephplogdatabasecakephp

### Embed Badge

![Health badge](/badges/freefri-cake-databaselog/health.svg)

```
[![Health](https://phpackages.com/badges/freefri-cake-databaselog/health.svg)](https://phpackages.com/packages/freefri-cake-databaselog)
```

###  Alternatives

[wazaari/monolog-mysql

A handler for Monolog that sends messages to MySQL

140884.1k6](/packages/wazaari-monolog-mysql)[imsamurai/cakephp-serializable-behaviour

Behavior for saving and reading serialized data from/into database

147.7k3](/packages/imsamurai-cakephp-serializable-behaviour)

PHPackages © 2026

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