How to Get Config Directory Path in Laravel

In this example, I explain how to get config directory path in laravel. We will show how to get config folder path in laravel. Also we will learn example of get config folder path in laravel application.

Example : Get config directory path in laravel

echo config_path();

Output : Laravel config directroy path

C:\xampp\htdocs\laravel-demo\config

I hope you understand how to get config directory path and it can help you…