#288

all() is a method of Eloquent\Model while get() is a method of Eloquent\Builder

With all() you cannot modify the query while with get() you can.

Example:

all()

$user = User::all();

get()

$user = User::select(‘id’, ‘name’)->where(‘name’, ”)->orderBy(‘id’, ‘desc’)->get();