From 323e553f336b7e7b189a27fba4102a3c3851ee1b Mon Sep 17 00:00:00 2001 From: Matthew Davis Date: Mon, 3 Apr 2017 20:07:41 +0100 Subject: [PATCH] Make app name configurable in environment file --- .env.example | 1 + config/app.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 55b5223b9c4..668c06f0204 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,4 @@ +APP_NAME=Laravel APP_ENV=local APP_KEY= APP_DEBUG=true diff --git a/config/app.php b/config/app.php index 3036ac7cb4a..135e9778897 100644 --- a/config/app.php +++ b/config/app.php @@ -12,7 +12,7 @@ | any other location as required by the application or its packages. */ - 'name' => 'Laravel', + 'name' => env('APP_NAME', 'Laravel'), /* |--------------------------------------------------------------------------