latest()->paginate laravel code example Example: laravel pagination {{ $users->withQueryString()->links() }}