title: How to create a route that ends with .html in Slim Framework PHP
body: <p>I have used Slim Framework several times without any problem but now I'm trying to set a route to match URL that ends with .html and render a certain view, but the framework return a 404 Not Found error, the route is ignored and it seems to me that just checks if there is a file named like that, and since there isn't, simply throw the 404.</p>
  <p>The route I'm trying to set is this:</p>
  <pre><code>$app-&gt;get('/{slug}.html', BusinessController::class . ':business');
  </code></pre>
  <p>This is possible in Laravel and that's the reason I'm a bit confused. Maybe someone stumbled upon this issue and know a solution.</p>