dev-master
9999999-devProvides MRC styled pagination slider HTML markup to Laravel4
The Requires
- php >=5.3.0
- illuminate/support 4.*
by Yusuf Abdulla Shunan
Wallogit.com
2017 © Pedro Peláez
Provides MRC styled pagination slider HTML markup to Laravel4
This Laravel 4 package extends the built in Twitter Bootstrap styled pagination slider HTML markup to provide MRC styled pagination slider HTML markup. Just a learning process to build a small usable customer package for Laravel, (*1)
Fiest install the package via Composer. Edit composer.json file and add require maldicore/mrc-pagination.
eg:, (*2)
"require": {
"laravel/framework": "4.0.*",
"maldicore/mrc-pagination": "dev-master"
}
Next, update Composer via Command Line:, (*3)
composer update
Once update and package file downloaded, the next add service provider. Edit app/config/app.php, and add to the providers array., (*4)
'Maldicore\MRCPagination\MRCPaginationServiceProvider',
Last reference the pagination style. Open app/config/view.php, and modify pagination item in the array., (*5)
'pagination' => 'mrcpagination::slider',
That's it!, (*6)
Use pagination just as you would normally and the markups generated for the links will be styled customized for MRC Website., (*7)
For more info on Laravel 4 Pagination, please check out http://laravel.com/docs/pagination, (*8)
Provides MRC styled pagination slider HTML markup to Laravel4