2017 © Pedro Peláez
 

symfony-bundle easypagination-bundle

easypagination bundle for symfony2/3

image

jrk/easypagination-bundle

easypagination bundle for symfony2/3

  • Monday, February 5, 2018
  • by jreziga
  • Repository
  • 1 Watchers
  • 1 Stars
  • 146 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Getting started with JRKEasyPaginationBundle

Setup

JRKEasyPaginationBundle requires the Pagerfanta api folder, (*1)

  • Using composer

Add jrk/easypagination-bundle as a dependency in your project's composer.json file:, (*2)

{
    "require": {
        "jrk/easypagination-bundle": "dev-master"
    }
}

Update composer, (*3)

php composer update
or 
php composer.phar update


- Add JRKEasyPaginationBundle to your application kernel

``` php
get('jrk_easypagination')->paginate(
        $queryBuilder,      // QueryBuilder
        array('args' => array('limit' => $limit), 'route' => self::$route_list),  // Route for HTML widget
        $limit,     // Number of items per page
        false,      // OutOfRangeException quiet or not
        $page,      // The page number (by default it will check for "page" attribute in the request)
        true        // If you need the HTML widget
    );
?>

The Versions

05/02 2018

dev-master

9999999-dev http://github.com/jr-k/JRKEasyPaginationBundle

easypagination bundle for symfony2/3

  Sources   Download

MIT GNU GPL v2

The Requires

 

pagination pager jrk easypagination fanta