Skip to content

Commit 323e553

Browse files
committed
Make app name configurable in environment file
1 parent 4882961 commit 323e553

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)