Answers for "laravel 8 public path remove"

PHP
5

Remove “/public” from Laravel route

Rename server.php in your Laravel root folder to index.php
Copy the .htaccess file from /public directory to your Laravel root folder.
Posted by: Guest on January-07-2021
0

public_path laravel

echo base_path() . "\n";
echo app_path() . "\n";
echo public_path() . "\n";
echo storage_path() . "\n";
Posted by: Guest on October-17-2021

Browse Popular Code Answers by Language