Using the collect() helper, you can easily create new collection instances by passing in an array such as:
$fruits = collect(['oranges', 'peaches', 'pears']);
If you don't want to use helper functions, you can create a new Collection using the class directly:
$fruits = new Illuminate\Support\Co...