PHPackages                             dszczer/lister - 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. dszczer/lister

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

dszczer/lister
==============

List generator for Symfony 2.8/3.x, ready to use with Propel 2 or Doctrine 2.

v0.9.22(8y ago)221MITPHPPHP ^7.0

Since Jan 24Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dszczer/Lister)[ Packagist](https://packagist.org/packages/dszczer/lister)[ RSS](/packages/dszczer-lister/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (8)Versions (7)Used By (0)

Lister Bundle
=============

[](#lister-bundle)

[![Build Status](https://camo.githubusercontent.com/d55a604a95927a0bc569a075050ea68870990e310a984b56b4d5ff4521d1402a/68747470733a2f2f7472617669732d63692e6f72672f64737a637a65722f4c69737465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/dszczer/Lister)

###### Disclaimer: documentation and test suit is not complete. This bundle is in development stage.

[](#disclaimer-documentation-and-test-suit-is-not-complete-this-bundle-is-in-development-stage)

Requirements
------------

[](#requirements)

### PHP &gt;7.0.0

[](#php-700)

### Symfony ~2.8

[](#symfony-28)

#### (Symfony ~3.0 not tested, may work)

[](#symfony-30-not-tested-may-work)

### Doctrine ORM ~2.0 or Propel ORM ~2.0

[](#doctrine-orm-20-or-propel-orm-20)

#### (Propel ~3.0 not tested)

[](#propel-30-not-tested)

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

[](#installation)

1. Copy files via Composer: `composer require dszczer/lister`.
2. Place configuration if needed:

```
# app/config.yml

# Full Lister Configuration
lister:
    orm: auto # [auto, doctrine, propel]; 'auto' for auto detection, and using both of ORMs simultaneously also
    perpage: 25 # any integer above 0
    form_name_prefix: 'lister_filters'
    use_csrf: true

# Minimum Lister Configuration
# Above values are default ones, no need to place any configuarion node
```

3. Add routing:

```
# app/config/routing.yml
lister:
    resource: "@DszczerListerBundle/Resources/config/routing.yml"
    type:     yaml
```

4. Enable bundle in AppKernel:

```
// app/AppKernel.php
// ...
$bundles = [
    // ...
    new Dszczer\ListerBundle\DszczerListerBundle()
];

// ...
```

Basic usage
-----------

[](#basic-usage)

```
