Support the ongoing development of Laravel.io →
posted 5 years ago
Laravel
Last updated 2 years ago.
0

so i was able to fix this my doing this

 $pagination = new LengthAwarePaginator($outputs->data, $outputs->total, $outputs->per_page,
            $outputs->current_page, ['path' => '/test']);
 return view('test.index')->with('outputs',$outputs)->with('pagination',$pagination);

  {{($pagination->links())}} {{--Pagination Links--}}
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Kunal Singh kunz398 Joined 13 Mar 2018

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.