Laravel elokwent Wybierz jedną kolumnę w tablicy
//Select specific Column in array
$data = ModelClassName::select('columnName')->get()->toArray();
Envious Earthworm
//Select specific Column in array
$data = ModelClassName::select('columnName')->get()->toArray();