I have an array of model entities, each one has a used_at carbon timestamp, I was wondering how can I retrieve the last model to be used (latest used_at) timestamp of the record of models.
$models = Model::all();
How can I get the last used model with Eloquent?