PHPackages                             cengizhancaliskan/views-counter-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. cengizhancaliskan/views-counter-bundle

AbandonedArchivedSymfony-bundle[Utility &amp; Helpers](/categories/utility)

cengizhancaliskan/views-counter-bundle
======================================

Symfony document/entity views counter

v1.0.0(9y ago)32.1kMITPHPPHP &gt;=5.4

Since Mar 28Pushed 9y ago1 watchersCompare

[ Source](https://github.com/cengizhancaliskan/ViewsCounterBundle)[ Packagist](https://packagist.org/packages/cengizhancaliskan/views-counter-bundle)[ Docs](https://github.com/cengizhancaliskan/ViewsCounterBundle)[ RSS](/packages/cengizhancaliskan-views-counter-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

ViewsCounter Bundle
===================

[](#viewscounter-bundle)

ViewsCounter increments views counts for document/entity.

Setup the bundle
----------------

[](#setup-the-bundle)

#### Step 1: Install ViewsCounterBundle

[](#step-1-install-viewscounterbundle)

ViewsCounter bundle is installed using [Composer](https://getcomposer.org/download/).

```
composer require cengizhancaliskan/views-counter-bundle
```

Enable ViewsCounterBundle in your AppKernel:

```
// app/AppKernel.php

public function registerBundles()
{
    $bundles = [
        // ...
        new Cengizhan\ViewsCounterBundle\CengizhanViewsCounterBundle(),
    ];

    // ...
}
```

#### Step 2: Configure your entity

[](#step-2-configure-your-entity)

```
