Level 21
Sure.
$users = App\User::all()->paginate(15);
or
$users = DB::table('users')->paginate(15);
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
At least till there are lots of users, what's the best way to show all users initially?
Even better, could all users be paginated and allow search as it's currently setup?
Thanks in advance.
Please or to participate in this conversation.