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