Laravel Application Helper: app_path
The app_path function in Laravel returns the full path to the application directory. It can also be used to build paths relative to the application directory. However, it does not automatically add a trailing forward slash to the path. To add a trailing forward slash, the str_finish function can be used.