for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
if (!function_exists('config_path')) {
/**
* Get the configuration path.
*
* This is a polyfill for the missing shorthand function in lumen.
* @param string $path
* @return string
*/
function config_path($path = '')
{
return app()->basePath('config') . ($path ? DIRECTORY_SEPARATOR . $path : $path);
}