when use php and when laravel code example
Example 1: laravel
# Via Laravel Installer
composer global require laravel/installer
laravel new blog
# Via Composer Create-Project
composer create-project --prefer-dist laravel/laravel blog
Example 2: laravel framework
Options +FollowSymLinks -Indexes
RewriteEngine On
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]