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