Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel create pagination

Route::get('/test_collect_pagintae', function () {

    $users = AppUser::get();

    $showPerPage = 20;

    $paginated = PaginationHelper::paginate($users, $showPerPage);

    return $paginated;
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #create #pagination
ADD COMMENT
Topic
Name
6+2 =