Answers for "laravel get project directory"

PHP
3

laravel get project root

public_path(); // Path of public/
base_path(); // Path of application root
storage_path(); // Path of storage/
app_path(); // Path of app/
Posted by: Guest on August-24-2020
2

path of app directory in controller laravel

How to get base path(Project Root) in laravel ?
base_path(); // Path of application root


How to get storage folder path in laravel ?
storage_path(); // Path of storage/


How to get app folder path in laravel ?
app_path(); // Path of app/
Posted by: Guest on November-01-2020
0

laravel create project in current directory

composer create-project laravel/laravel .
Posted by: Guest on October-04-2021

Code answers related to "laravel get project directory"

Browse Popular Code Answers by Language