Options -Indexes
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteRule ^(app|bootstrap|config|database|resources|routes|storage|tests|vendor)(/|$) - [F,L,NC]
  RewriteRule ^(\.env|\.git|composer\.(json|lock)|artisan|phpunit\.xml|config\.local\.php)(/|$) - [F,L,NC]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^ index.php [L,QSA]
</IfModule>
<FilesMatch "^(config\.local\.php|\.env|composer\.(json|lock))$">
  Require all denied
</FilesMatch>
