2013-12-06 whereメソッドで結果を一件だけ取得したいとき Laravel Eloquent find()のように結果を一件だけ取得したいときはfirst()を使う。 $title = Title::where('name','=',$name)->first();