PHPackages                             baka/blameable - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. baka/blameable

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

baka/blameable
==============

Set audit behavior for your module

v0.1.4(6y ago)06.4kPHP &gt;=7.2

Since May 10Compare

[ Source](https://github.com/bakaphp/blameable)[ Packagist](https://packagist.org/packages/baka/blameable)[ RSS](/packages/baka-blameable/feed)WikiDiscussions Synced 3d ago

READMEChangelog (5)Dependencies (8)Versions (8)Used By (0)

Baka Blameable
==============

[](#baka-blameable)

Table of Contents
-----------------

[](#table-of-contents)

1. [Blameable](#markdown-blameable)

Blameable
---------

[](#blameable)

```
use Baka\Blameable\BlameableTrait;

class Leads extends Phalcon\Mvc\Model
{
    use BlameableTrait;

    /**
     * Initialize
     */
    public function initialize()
    {
        $this->keepSnapshots(true);
        $this->addBehavior(new \Baka\Blameable\Blameable());
    }
}
```

```
CREATE TABLE `audits` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `entity_id` int(10) UNSIGNED NOT NULL,
  `model_name` varchar(64) NOT NULL,
  `users_id` int(10) UNSIGNED NOT NULL,
  `ip` varchar(15) NOT NULL,
  `type` char(1) NOT NULL,
  `created_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `audits_details`
--

CREATE TABLE `audits_details` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `audits_id` bigint(20) UNSIGNED NOT NULL,
  `field_name` varchar(32) NOT NULL,
  `old_value` text,
  `old_value_text` text,
  `new_value` text,
  `new_value_text` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `audits`
--
ALTER TABLE `audits`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx1` (`entity_id`),
  ADD KEY `idx2` (`model_name`),
  ADD KEY `idx3` (`users_id`),
  ADD KEY `idx4` (`type`),
  ADD KEY `idx5` (`model_name`,`type`),
  ADD KEY `idx6` (`entity_id`,`model_name`,`type`);

--
-- Indexes for table `audits_details`
--
ALTER TABLE `audits_details`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx1` (`audits_id`),
  ADD KEY `field_name` (`field_name`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `audits`
--
ALTER TABLE `audits`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `audits_details`
--
ALTER TABLE `audits_details`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
COMMIT;
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

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

Recently: every ~43 days

Total

7

Last Release

2406d ago

PHP version history (2 changes)v0.1PHP &gt;=7.1

v0.1.1PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/136c850ea7ec76b23cc5b1fed8507683cc891145cffedc7761fe73ce03960df3?d=identicon)[mctekk](/maintainers/mctekk)

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/baka-blameable/health.svg)

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

###  Alternatives

[stanislav-web/phalcon-sms-factory

Multiple gateway SMS Sender factory. Provide any SMS services inside your Phalcon's projects

321.6k](/packages/stanislav-web-phalcon-sms-factory)

PHPackages © 2026

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