binarix/foundation-pagination
Composer 安装命令:
composer require binarix/foundation-pagination
包简介
Provides Zurb Foundation styled pagination slider HTML markup to Laravel4
README 文档
README
This Laravel 4 package extends the built in Twitter Bootstrap styled pagination slider HTML markup to provide Zurb Foundation styled pagination slider HTML markup.
Installation
This release v1.0.0 supports the following versions of Laravel: "laravel/framework": "4.0." "laravel/framework": "4.1."
Begin by installing this package through Composer. Edit your project's composer.json file to require binarix/foundation-pagination.
"require": {
"binarix/foundation-pagination": "1.0.*"
}
Next, update Composer from the Terminal:
composer update
Once this operation completes, the next step is to add the service provider. Open app/config/app.php, and add a new item to the providers array.
'Binarix\FoundationPagination\FoundationPaginationServiceProvider',
The final step is to reference one of the the pagination styles. Open app/config/view.php, and modify the pagination item in the array.
For normal style use:
'pagination' => 'foundationpagination::slider',
For centered style use:
'pagination' => 'foundationpagination::slider-center',
That's it! You're all set to go.
Usage
Just use pagination as you would normally and the markups generated for the links will be styled for Zurb Foundation framework.
For more information on Pagination with Laravel 4, please check out the docs at
http://laravel.com/docs/pagination
统计信息
- 总下载量: 14.84k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 26
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2013-05-29