laravel eloquent order by alphabetical order
snippet in php

laravel eloquent order by alphabetical order

user5993

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