PHP Get path in an Laravel application
Laravel framework provides several useful helper methods to get various paths required to access some commonly used directories/folders. app_path() – Laravel app_path helper base_path() – Laravel helper config_path() – Laravel