heristop / propel-auditable-behavior
Propel behavior to track and record changes in your models
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/heristop/propel-auditable-behavior
Requires
- php: >=5.2.4
- propel/propel1: >=1.6.4
This package is not auto-updated.
Last update: 2025-10-07 12:32:16 UTC
README
AuditableBehavior
Installation
Download the AuditableBehavior.php file in src/, put it somewhere on your project, then add the following line to your propel.ini:
propel.behavior.auditable.class = path.to.AuditableBehavior
Or use composer adding the requirement below:
{ "require": { "heristop/propel-auditable-behavior": "*" } }
Usage
Add this line to your schema.xml:
<behavior name="auditable" />
The Behavior will add several methods to the object:
public function countActivity() public function flushActivities() public function getLastActivities()