PHPackages                             agusmoita/mottapg-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. agusmoita/mottapg-bundle

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

agusmoita/mottapg-bundle
========================

A paginator bundle for Symfony

3.1.3(6y ago)11581[3 issues](https://github.com/agusmoita/MottaPgBundle/issues)MITPHP

Since Nov 10Pushed 6y ago1 watchersCompare

[ Source](https://github.com/agusmoita/MottaPgBundle)[ Packagist](https://packagist.org/packages/agusmoita/mottapg-bundle)[ Docs](https://github.com/agusmoita/MottaPgBundle)[ RSS](/packages/agusmoita-mottapg-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (1)Versions (13)Used By (0)

MottaPgBundle
=============

[](#mottapgbundle)

---

#### Installation

[](#installation)

- Add via composer ```
    $ composer require agusmoita/mottapg-bundle
    ```

#### Usage

[](#usage)

- Controller

    ```
    use MottaPgBundle\Util\Paginator\Paginator;

    /**
     * @Route("/", name="person_index", methods={"GET|POST"})
     */
    public function indexAction(Paginator $pg, PersonRepository $repo)
    {
        return $pg
                ->setView('person/index.html.twig')
                ->paginate($repo);
    }
    ```
- Repository

    ```
    // PersonRepository.php

    public function buildQuery($query, $pg)
    {
        // return SELECT a FROM AppBundle:Person a
        return $query;
    }
    ```
- View

    ```
    {# person/index.html.twig #}

    {% extends '@MottaPg/Paginator/table.html.twig' %}

    {% block title %}
        List of People
    {% endblock %}

    {% block paginator_table_header %}
        First Name
        Last Name
        Birthday
    {% endblock %}

    {% block paginator_table_data %}
        {{ entity.firstName }}
        {{ entity.lastName }}
        {{ entity.birthday|date('m-d-Y') }}
    {% endblock %}
    ```

#### License

[](#license)

[MIT License](LICENSE)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity70

Established project with proven stability

 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 ~57 days

Recently: every ~8 days

Total

12

Last Release

2469d ago

Major Versions

1.1.2 → 2.0.02017-11-16

2.1.0 → 3.0.12019-07-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/860802d33af68045a67595a18e4dfc0d6231a615c489534ae2745e721de9862a?d=identicon)[agusmoita](/maintainers/agusmoita)

---

Top Contributors

[![augustomoita](https://avatars.githubusercontent.com/u/10767798?v=4)](https://github.com/augustomoita "augustomoita (31 commits)")

---

Tags

actionsbootstrap4excelexportpaginationpdfphpsymfony-bundlesymfony3symfonypdfexportpaginatorpaginationexcelmassaction

### Embed Badge

![Health badge](/badges/agusmoita-mottapg-bundle/health.svg)

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

###  Alternatives

[phpnt/yii2-export

Yii2 It saves data in xls, csv, word, html, pdf files.

158.9k](/packages/phpnt-yii2-export)

PHPackages © 2026

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