Laravel 5 configuration - environments and overriding

前端 未结 4 864
滥情空心
滥情空心 2021-01-11 12:59

I installed fresh Laravel 5 copy.

My detectEnvironment function is defined this way:

$app->detectEnvironment(function()
{
    return \'local\';
           


        
4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-11 13:26

    There's a package that brings the cascading config system back to Laravel 5.

    Disclaimer: I am the author.

提交回复
热议问题