Options -Indexes
RewriteEngine On

# Protect configuration and source files.
<FilesMatch "^(config\.php|config\.example\.php|bootstrap\.php)$">
    Require all denied
</FilesMatch>

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L,QSA]
