Rectangle 27 0

Laravel 4 pagination with Bootstrap 3?


'pagination' => 'pagination::slider-3',
<?php if ($paginator->getLastPage() > 1): ?>
<ul class="pagination">
        <?php echo $presenter->render(); ?>
</ul>

Knowing this, you simply change the paginator in the app/config/view to

When you look into the laravel 4 core framework's Paginator, you will see in the view folder vendor/laravel/Illuminate/Paginator/views a file called slider-3.php! This view uses the bootstrap 3 paginator

Note