Skip to content

Commit d870a0c

Browse files
authored
Merge pull request laravel#4204 from mdavis1982/make-app-name-configurable
Make app name configurable in environment file
2 parents 4882961 + 323e553 commit d870a0c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
APP_NAME=Laravel
12
APP_ENV=local
23
APP_KEY=
34
APP_DEBUG=true

config/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
| any other location as required by the application or its packages.
1313
*/
1414

15-
'name' => 'Laravel',
15+
'name' => env('APP_NAME', 'Laravel'),
1616

1717
/*
1818
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)