laravel get project root
snippet in php

laravel get project root

user5517

public_path(); // Path of public/
base_path(); // Path of application root
storage_path(); // Path of storage/
app_path(); // Path of app/