PHPackages                             modera/activity-logger-bundle - 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. modera/activity-logger-bundle

ActiveSymfony-bundle[Logging &amp; Monitoring](/categories/logging)

modera/activity-logger-bundle
=============================

v5.0.0(1y ago)44.7k↓87.5%1MITPHPPHP &gt;=7.4

Since Jul 22Pushed 1y ago8 watchersCompare

[ Source](https://github.com/modera/ModeraActivityLoggerBundle)[ Packagist](https://packagist.org/packages/modera/activity-logger-bundle)[ RSS](/packages/modera-activity-logger-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (5)Versions (20)Used By (1)

ModeraActivityLoggerBundle
==========================

[](#moderaactivityloggerbundle)

Bundle provides facilities that let you to log different domain events that occur during your application logic execution, later you are able to query those logged events ( they are called Activities in scope of this bundle ). The point here is that later those activities can be reviewed by ordinary users to see what has been happening in the system.

Unless you need to query activities in your application logic please rely on a generic Psr's LoggerInterface interface to log your activities.

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

[](#installation)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

```
composer require modera/activity-logger-bundle:5.x-dev
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md) of the Composer documentation.

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

This bundle should be automatically enabled by [Flex](https://symfony.com/doc/current/setup/flex.html). In case you don't use Flex, you'll need to manually enable the bundle by adding the following line in the `config/bundles.php` file of your project:

```
