On October 20, 2020 . By CodimTh Category: Web Laravel Instead of doing dd($result); you can put ->dd() as a method directly at the end of your Eloquent sentence, or any Collection. // Instead of $users = User::where('name', 'Taylor')->get(); dd($users); // Do this $users = User::where('name', 'Taylor')->get()->dd(); Tags : Laravel Laravel tutoriel Tips Laravel Previous PostHow to use hasMany to create Many in LaravelNext PostAllow emails to be sent to selected roles in webform in Drupal 8 Comments Add new comment Your name Subject Comment About text formats Restricted HTML Leave this field blank
Comments