title: How to print out value on controller Laravel?
body: <p>I'm beginner on Laravel... </p>
  
  <p>How to debug some value on controller in Laravel, result can show to console like syntax <code>console.log()</code> on javascript?</p>
  
  <p>example controller function :</p>
  
  <pre><code>class TestMeController extends Controller {
      public function __construct()
      {
          $this-&gt;middleware('jsonify');
      }
  
      public function callMe($id)
      {
          $params = Request::all();
  
          console.log($id);  &lt;== how to write code on Laravel?
      }
  }
  </code></pre>