laravel eloquent order by alphabetical order

45

laravel eloquent order by alphabetical order -

  $items = Item::orderBy('name')->get(); 

Comments

Submit
0 Comments