Laravel .env access restriction using .htaccess
Open your .htaccess file Add the following script: <Files .env> Order allow,deny Deny from all </Files>
Read moreOpen your .htaccess file Add the following script: <Files .env> Order allow,deny Deny from all </Files>
Read more