Options -Indexes

<FilesMatch "(^\.|wp-config.php|composer.json|composer.lock)">
Order allow,deny
Deny from all
</FilesMatch>

<FilesMatch "\.(php|php5|phtml|phar)$">
Require all granted
</FilesMatch>