how to use pagination on models in laravel code example Example: laravel pagination {{ $users->withQueryString()->links() }}