Top "Laravel-pagination" questions

Using pagination in Laravel Framework

How to paginate with return as json laravel

I want to create a pagination with return as json, but I'm getting an error like below ErrorException in Macroable.…

php laravel laravel-pagination
Laravel 5 - Manual pagination

Pagination::make() method doesn't exist in Pagination class anymore in Laravel 5. Is there a workaround to make manual pagination work …

laravel pagination laravel-5 laravel-pagination
Call to a member function paginate() on array

I am working with Laravel5.0 . I want to add paginate() to the following function of my controller part. public function …

php laravel-5 pagination laravel-pagination
laravel show only next and previous link in pagination

I ma trying to use Laravel Pagination and I only want to show the Previous and Next link with out …

php laravel laravel-4 pagination laravel-pagination
Laravel pagination not working with group by clause

It seems Laravel pagination does not working properly with group by clause. For example: $users = Subject::select(DB::raw('subjects.*, …

laravel laravel-4 laravel-pagination
Using limit parameter in paginate function

Is it possible to use 'limit' parameter in paginate() function? I'm trying this: $users->where(...)->limit(50)-&…

laravel eloquent laravel-query-builder laravel-pagination
Laravel pagination get variables

I have a page that list apartments depending on book dates like this mypage.com/finder?date-from=2011-03-04&…

laravel pagination laravel-pagination
Laravel pagination not working with array instead of collection

I'm trying to paginate an array data set and it has proven more challenging than I thought. I'm using Laravel 5 …

laravel laravel-5 laravel-pagination
Laravel Pagination Error -- Call to undefined method stdClass::links()

I developed a laravel application and i want to paginate a view, look my controller. $times=DB::table('timesheets') -&…

mysql laravel-4 eloquent laravel-pagination
Laravel 5.0 Pagination render() method return HTML text

I have a controller which send some product to the view. In the controller I paginated the data using ... // Controller …

php laravel pagination laravel-pagination