fightmaster/porpaginas-bundle
Composer 安装命令:
composer require fightmaster/porpaginas-bundle
包简介
Symfony bundle for the porpaginas beberlei/porpaginas.
README 文档
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
统计信息
- 总下载量: 506
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-01-29