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