title: PHP Define constant at different php file
body: <p>I develop something for my assignment with PHP and laravel. I want to define some constants at a PHP file and use them at different PHP files.</p>
  <p>For example</p>
  <pre><code>#App/config/constants.php
  
  DEFINE('const1','something');
  </code></pre>
  <pre><code>#App/Http/Controllers/userFolders.php
  
  echo const1; 
  </code></pre>
  <p>I tried to use require and namespace but they did not work.</p>
  <p>Thanks for everything.</p>