Laravel – Remove Public from URL using htaccess

https://hdtuto.com/article/laravel-remove-public-from-url-using-htaccess Step 1: Rename File In first step it is very easy and you need to just rename file name. you have to rename server.php to index.php at your laravel root directory. server.php INTO index.php Step...

Laravel All Routes Returning 404

Replace your .htaccess file with the below solution contents Solution: <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^(.*)$ public/$1 [L] </IfModule> # Set the “ea-php71” package as the default “PHP” programming language. <IfModule mime_module>...

Laravel New Project

use this one through composer: composer create-project laravel/laravel This is an older one I tried previously use the one above first: composer create-project –prefer-dist laravel/laravel blog “5.8.*”

Laravel Install or Update

composer global require “laravel/installer=~1.1” Since I installed laravel/installer globally via composer global require laravel/installer So I update laravel/installer globally via: composer global update laravel/installer Then do: composer...

Pin It on Pinterest