In Laravel using Yajra DataTables package, you can easily add pagination in less time.
To add edit delete button in the DataTable need to use addColumn()
method.
In this tutorial, I am assuming you have already installed the Yajra package, if not then you can view this tutorial.
I am implementing this on Laravel 9.