The `first` method of the `Illuminate\Database\Eloquent\Collection` class in PHP's `Illuminate\Database\Eloquent` package is used to retrieve the first model from the collection. It returns an instance of the model class.
PHP Illuminate\Database\Eloquent Collection::first - 15 examples found. These are the top rated real world PHP examples of Illuminate\Database\Eloquent\Collection::first extracted from open source projects. You can rate examples to help us improve the quality of examples.