Support the ongoing development of Laravel.io →
Installation Configuration
Last updated 2 years ago.
0

type hostname at the console and that is what you should put there. Mine for example is

    hostname
    Alfreds-MacBook-Pro-3.local

also you can default to local this way

    $env = $app->detectEnvironment(function()
      {
        if (!isset($_ENV['ENVIRONMENT'])) {
          return 'local';
      }
      return $_ENV['ENVIRONMENT'];
    });

then you can use http://laravel.com/docs/configuration#protecting-sensitive-configuration to finalize your ENV setting but since it is NOT set this defaults to local.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

ulshamim ulshamim Joined 17 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.