PHPackages                             sbc/auto-reporting-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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. sbc/auto-reporting-bundle

ActiveSymfony-bundle[PDF &amp; Document Generation](/categories/documents)

sbc/auto-reporting-bundle
=========================

Send daily PDF reports about the application's activity

0202PHP

Since May 14Pushed 8y ago1 watchersCompare

[ Source](https://github.com/SBCDevelopers/AutomaticReportingBundle)[ Packagist](https://packagist.org/packages/sbc/auto-reporting-bundle)[ RSS](/packages/sbc-auto-reporting-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

AutomaticReportingBundle
========================

[](#automaticreportingbundle)

Send daily PDF reports about the application's activity.

Installation
============

[](#installation)

1. `composer require sbc/auto-reporting-bundle`
2. Enable the bundle in AppKernel.php `new SBC\AutomaticReportingBundle\AutomaticReportingBundle(),`

Usage
=====

[](#usage)

### Step 1:

[](#step-1)

Set the configuration:

```
# AutomaticReportingBundle configuration
automatic_reporting:
    app_name:   'Your applciation name' # will be displayed in the email
    recipients: ['mail1@site.com', 'mail2@site.com'] # multiple recipients

```

### Step 2:

[](#step-2)

Call `@Report` Annotation in the entities you want to follow:

```
/**
 * Post
 *
 * @ORM\Table(name="post")
 * @ORM\Entity(repositoryClass="AppBundle\Repository\PostRepository")
 *
 * @Report(
 *  dateColumn="creationDate",
 *  reportingName="Poste"
 * )
 */
class Post
{
...
}
```

### Step 2 (differentiation solution):

[](#step-2-differentiation-solution)

You can also separate result for the same entity using the DifferentiationColumn Annotation:

```
/**
 * Post
 *
 * @ORM\Table(name="post")
 * @ORM\Entity(repositoryClass="AppBundle\Repository\PostRepository")
 *
 * @Report(
 *  dateColumn="creationDate",
 *  differentiationColumn="type",
 *  differentiations={
 *     @DifferentiationColumn(value="A", reportingName="Post of type A"),
 *     @DifferentiationColumn(value="B", reportingName="Post of type B")
 *  }
 * )
 */
class Post
{
...
    /**
     * Type of the Post entity
     * @var string
     *
     * @ORM\Column(name="type", type="string", length=255)
     */
    private $type;
}
```

### Step3

[](#step3)

- Call `php bin/console reporting:generate` to build and send the report
- Or create a cron job that trigger this command every day

What will actually happen ?
===========================

[](#what-will-actually-happen-)

After calling the command the bundle will parse and get all the entities with the `@Report` annotation and count all the rows that being created in the current day using the `dateColumn` attribute, after that the bundle will generate and send a PDF attachment to the recipients containing the summary using the `reportingName` attribute for each entity.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17424180?v=4)[Slimen Arnaout](/maintainers/SlimenTN)[@SlimenTN](https://github.com/SlimenTN)

---

Top Contributors

[![SlimenTN](https://avatars.githubusercontent.com/u/17424180?v=4)](https://github.com/SlimenTN "SlimenTN (6 commits)")

### Embed Badge

![Health badge](/badges/sbc-auto-reporting-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/sbc-auto-reporting-bundle/health.svg)](https://phpackages.com/packages/sbc-auto-reporting-bundle)
```

###  Alternatives

[qipsius/tcpdf-bundle

A bundle to easily integrate TCPDF into Symfony

23749.5k](/packages/qipsius-tcpdf-bundle)[macopedia/magmi2

Magento Mass Importer 'Magmi' for Magento 2

11615.7k](/packages/macopedia-magmi2)[tarfin-labs/easy-pdf

Makes pdf processing easy.

1719.4k](/packages/tarfin-labs-easy-pdf)[akeneo-labs/excel-connector-bundle

Akeneo PIM Excel connector bundle

166.4k](/packages/akeneo-labs-excel-connector-bundle)

PHPackages © 2026

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