title: how to encode api URL using base64 in laravel?
body: <p>how to encode URL using base64 in laravel? </p>
  
  <p>I need something like this:</p>
  
  <p>original URL: <code>http://localhost/dashboard/api/test/</code></p>
  
  <p>encode URL: <code>http://localhost/dashboard/YXBpL3Rlc3Qv</code></p>