get first 10 items in collection laravel code example Example: collection get first element laravel $first = $msgs->first(); // this does ->take(1) under the hood