Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

eys's avatar
Level 1

Data table server side in Laravel 8

how to put pagination and search bar in a table connected to MySQL in laravel 8?

0 likes
2 replies
Sinnbeck's avatar

Add some html for a table and a form with a single input field (search) in a blade file. I'm not sure what exactly you are looking for else? If you want to many it more dynamic you can use livewire. Use $data->links() for the pagination buttons

Please or to participate in this conversation.