PHPackages                             earlhickey/pg-logger - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. earlhickey/pg-logger

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

earlhickey/pg-logger
====================

ZF2 logging module

0.2.1(10y ago)0294BSD-3-ClausePHPPHP &gt;=5.3.3

Since Jan 20Pushed 10y ago1 watchersCompare

[ Source](https://github.com/earlhickey/PgLogger)[ Packagist](https://packagist.org/packages/earlhickey/pg-logger)[ Docs](https://github.com/earlhickey/PgLogger)[ RSS](/packages/earlhickey-pg-logger/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

PgLogger
========

[](#pglogger)

ZF2 Logging Module

Log to DB, Email, File, Syslog, FirePHP. Fully customizable with config file.

Call logger directly or with triggers.

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

[](#installation)

### Main Setup

[](#main-setup)

#### By cloning project

[](#by-cloning-project)

1. Install the [PgLogger](https://github.com/earlhickey/PgLogger) ZF2 module by cloning it into `./vendor/`.
2. Clone this project into your `./vendor/` directory.

#### With composer

[](#with-composer)

1. Add this project in your composer.json:

    ```
    "require": {
        "earlhickey/pg-logger": "0.*"
    }
    ```
2. Now tell composer to download PgLogger by running the command:

    ```
    $ php composer.phar update
    ```

#### Post installation

[](#post-installation)

1. Enabling it in your `application.config.php` file.

    ```
