Lazy Collection introduced in Laravel 6 that will help to keep the memory usages low. It will use the PHP generators in the backend to achieve this. You can use rest of the collection methods to filter data from Lazy Collection.

laravel 6 book

$users = \App\User::cursor();
dd($users->first());