Good afternoon, Dear community, please tell me how to make pagination for a collection that has been modified by the map function, is it really only for models ??
If this is a non-Eloquent collection, then https://laravel.com/docs/5.1/collections#method-forpage
otherwise, create a new collection new \Illuminate\Database\Eloquent\Collection (pass a non-Eloquent collection here) and use paginate