title: How to use constant value inside blade file - Laravel
body: <p>I want to use constant value inside <code>blade</code> file.
  I have <code>svg</code> tag in which I have<code>&lt;path&gt;</code> tag in which I want to use constant value.</p>
  <p>I searched it online. I got this solution
  I got these solutions.</p>
  <p><a href="https://www.codegrepper.com/code-examples/php/get+constant+value+in+laravel" rel="nofollow noreferrer">https://www.codegrepper.com/code-examples/php/get+constant+value+in+laravel</a>
  <a href="https://stackoverflow.com/a/42155879/7290043">https://stackoverflow.com/a/42155879/7290043</a></p>
  <p>As suggested in the solution. I created a <code>constants.php</code></p>
  <pre class="lang-dart prettyprint-override"><code>&lt;?php
  return [
  
      // -------------- UI Constants
      
      'MAXIMIZE_SQAURE_ICON' =&gt; 'M14,15h-4v-2h3v-3h2v4C15,14.6,14.6,15,14,15z M13,3h-3V1h4c0.6,0,1,0.4,1,1v4h-2V3z M6,3H3v3H1V2c0-0.6,0.4-1,1-1h4V3z
      M3,13h3v2H2c-0.6,0-1-0.4-1-1v-4h2V13z'
  ];
  </code></pre>
  <p>I'm trying to use this <code>MAXIMIZE_SQAURE_ICON</code> value as <code>d</code> of <code>&lt;path&gt;</code> tag of blade file</p>
  <pre class="lang-dart prettyprint-override"><code>&lt;svg width=&quot;16&quot; height=&quot;16&quot;&gt;
    &lt;path d=&quot;MAXIMIZE_SQAURE_ICON&quot; /&gt; 
  &lt;/svg&gt;
  </code></pre>
  <p>I also tried <code>&lt;path d = Config::get('constants.ADMIN_NAME') /&gt;</code></p>
  <p>I'm not sure how to access it properly. I'm new to laravel.</p>