PHPackages                             prezent/pulse-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. prezent/pulse-bundle

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

prezent/pulse-bundle
====================

Basic analytics event tracking in Symfony

0.1.1(9y ago)0428MITPHPPHP ^5.6|^7.0

Since Nov 29Pushed 9y ago4 watchersCompare

[ Source](https://github.com/Prezent/pulse-bundle)[ Packagist](https://packagist.org/packages/prezent/pulse-bundle)[ Docs](http://www.prezent.nl)[ RSS](/packages/prezent-pulse-bundle/feed)WikiDiscussions master Synced 2mo ago

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

prezent/pulse-bundle
====================

[](#prezentpulse-bundle)

Basic analytics event tracking in Symfony

The full documentation can be found in [Resources/doc](src/Resources/doc/index.md)

Quickstart example
------------------

[](#quickstart-example)

```
namespace AppBundle\Controller;

use Prezent\PulseBundle\Event\PulseEvent;
use Prezent\PulseBundle\Query\Query;
use Symfony\Bundle\FrameworkBundle\Controller\Controller

class AppController extends Controller
{
    public function trackableAction()
    {
        $this->get('event_dispatcher')->dispatch(PulseEvent::EVENT, new PulseEvent('some.action', [
            'user' => $this->getUser()->getId(),
        ]));
    }

    public function analyticsAction()
    {
        $query = new Query();
        $query
            ->setTypes(['some.action', 'other.action'])
            ->setStartDate(new \DateTime('-7 days'))
            ->setEndDate(new \DateTime())
        ;

        return $this->render('AppBundle:App:analytics.html.twig', [
            'result' => $this->get('prezent_pulse.repository')->query($query),
        ]);
    }
}
```

```
{% extends '::base.html.twig' %}

{% block body %}

                {% for column in result.columns %}
                    {{ column }}
                {% endfor %}
                Total

            {% for row in result %}

                    {{ row.key }}: {{ row.id }}
                    {% for value in row %}
                        {{ value }}
                    {% endfor %}
                    {{ row.total }}

            {% endfor %}

                Total
                {% for value in result.columnTotals %}
                    {{ value }}
                {% endfor %}
                {{ result.total }}

{% endblock %}
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3454d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/89e726c075b8791241a5a0ff503843c7c1b81ff2ee58a2ab942fe9e66f81b059?d=identicon)[prezent](/maintainers/prezent)

---

Top Contributors

[![sandermarechal](https://avatars.githubusercontent.com/u/145240?v=4)](https://github.com/sandermarechal "sandermarechal (1 commits)")

---

Tags

eventstrackinganalytics

### Embed Badge

![Health badge](/badges/prezent-pulse-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/prezent-pulse-bundle/health.svg)](https://phpackages.com/packages/prezent-pulse-bundle)
```

###  Alternatives

[zumba/amplitude-php

PHP SDK for Amplitude

409.5M5](/packages/zumba-amplitude-php)[cornford/googlitics

An easy way to integrate Google Analytics with Laravel.

3310.2k](/packages/cornford-googlitics)[axllent/silverstripe-analytics-js

Google Universal Analytics tracking code for Silverstripe

1721.3k](/packages/axllent-silverstripe-analytics-js)[gosquared/php-sdk

1023.3k](/packages/gosquared-php-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
