2017 © Pedro Peláez
 

symfony-bundle auditlog-bundle

symfony BBITAuditLogBundle

image

bbit/auditlog-bundle

symfony BBITAuditLogBundle

  • Sunday, July 6, 2014
  • by whitewhidow
  • Repository
  • 1 Watchers
  • 0 Stars
  • 83 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

AuditLogBundle

SensioLabsInsight, (*1)

AuditLogBundle is a simple bundle which provides you with a service which you can use to log stuff to the database., (*2)

Sort of like monolog, but using the db instead., (*3)

Step 1: Download AuditLogBundle using composer

Add BBITAuditLogBundle in your composer.json: (use the latest stable, NOT dev-master), (*4)

{
    "require": {
        "bbit/auditlog-bundle": "0.1",
    }
}

Now tell composer to download the bundle by running the command:, (*5)

``` bash $ php composer.phar update bbit/auditlog-bundle, (*6)


Composer will install the bundle to your project's `vendor/BBIT` directory. ### Step 2: Enable the bundle Enable the bundle in the kernel: ``` php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new BBIT\AuditLogBundle\BBITAuditLogBundle(), ); }

Usage:

php $logger = $this->get('bbit_audit_log.service'); // get logger service $logger->log("type", "channel", "logmessage to be inserted");, (*7)

todo: write tests and check code coverage, (*8)

The Versions

06/07 2014

dev-master

9999999-dev

symfony BBITAuditLogBundle

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

06/07 2014

0.1

0.1.0.0

symfony BBITAuditLogBundle

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires