console print in laravel code example Example: print value in laravel console dump($var); dd($id); var_dump($var); die($var); print_r($var);