Skip to content

Instantly share code, notes, and snippets.

@pelusium
Created March 12, 2014 15:25
Show Gist options
  • Save pelusium/9509170 to your computer and use it in GitHub Desktop.
Save pelusium/9509170 to your computer and use it in GitHub Desktop.
Laravel - Path Folder
**
* Path to the 'app' folder
*/
echo app_path();
/**
* Path to the project's root folder
*/
echo base_path();
/**
* Path to the 'public' folder
*/
echo public_path();
/**
* Path to the 'app/storage' folder
*/
echo storage_path();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment