fightmaster / porpaginas-bundle
Symfony bundle for the porpaginas beberlei/porpaginas.
Installs: 506
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.3
- beberlei/porpaginas: dev-master
- symfony/framework-bundle: ~2.1
This package is not auto-updated.
Last update: 2024-10-26 15:08:35 UTC
README
Introduction
PorpaginasBundle is wrapper for porpaginas library.
Installation
Using Composer (recommended)
To install PorpaginasBundle with Composer just add the following to your composer.json file:
// composer.json { // ... require: { // ... "fightmaster/porpaginas-bundle": "dev-master" } }
Then, you can install the new dependencies by running Composer’s update command from the directory where your composer.json file is located:
$ php composer.phar update fightmaster/porpaginas-bundle
Composer will automatically download all required files, and install them for you. All that is left to do is to update your AppKernel.php file, and register the new bundle:
<?php // in AppKernel::registerBundles() $bundles = array( // ... new Porpaginas\PorpaginasBundle\PorpaginasBundle(), // ... );
Configuration
By default, you need to specify only what you use paginator (knp_paginator
). Library supports only KnpPaginator.
Below you find a reference of all configuration options with their default values:
# config.yml porpaginas: paginator: knp_paginator #paginator: pagerfanta