diara / audit
This package is abandoned and no longer maintained.
No replacement package was suggested.
A Kohana module for logging application events for auditing purposes.
2.1.1
2012-11-17 19:03 UTC
Requires
- php: >=5.4.0
- composer/installers: *
This package is not auto-updated.
Last update: 2022-02-01 12:22:19 UTC
README
- Developer: A. Roots
- Created: May 2012
- Copyright: Diara OÜ
Kohana Audit is a Kohana 3.2 module for logging application events for auditing purposes.
Install
- Clone the repository and enable the module in
application/bootstrap.php
. - Execute
schema.sql
in your database - The User class must implement the singleton pattern - User::current() must return Auth::instance()->get_user()
Usage example
:::php
class Controller_Test extends Controller {
public function action_index() {
Audit::add(Audit::CREATE, 'Visited the test controller');
}
}
Features
- Log types for different activities
- I18n support for log messages
Dependencies
- Kohana 3.2
- Database module
- ORM module
- Auth module
Default view uses Twitter Bootstrap v2 css elements.