Laravel Collection Modelkeys

$users->modelKeys();

// [1, 2, 3, 4, 5]
Cooperative Crab