Skip to content

Commit d016e03

Browse files
committed
Default debug to false and improve readme
1 parent eecf4cd commit d016e03

File tree

3 files changed

+20
-7
lines changed

3 files changed

+20
-7
lines changed

.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
APP_ENV=local
2-
APP_DEBUG=true
2+
APP_DEBUG=false
33
APP_KEY=SomeRandomStringSomeRandomString
44

55
# Twilio API credentials

config/app.php

+13
Original file line numberDiff line numberDiff line change
@@ -222,4 +222,17 @@
222222

223223
],
224224

225+
'debug_hide' => [
226+
'_ENV' => [
227+
'APP_KEY',
228+
'TWILIO_ACCOUNT_SID',
229+
'TWILIO_AUTH_TOKEN',
230+
],
231+
232+
'_SERVER' => [
233+
'APP_KEY',
234+
'TWILIO_ACCOUNT_SID',
235+
'TWILIO_AUTH_TOKEN',
236+
],
237+
],
225238
];

readme.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,6 @@ After the above requirements have been met:
5050
cd airtng-laravel
5151
```
5252

53-
1. Install PHP dependencies
54-
55-
```bash
56-
make install
57-
```
58-
5953
1. Set your environment variables
6054

6155
```bash
@@ -64,6 +58,12 @@ After the above requirements have been met:
6458

6559
See [Twilio Account Settings](#twilio-account-settings) to locate the necessary environment variables.
6660

61+
1. Install PHP dependencies
62+
63+
```bash
64+
make install
65+
```
66+
6767
1. Expose the application to the wider Internet using [ngrok](https://ngrok.com/)
6868

6969
```bash

0 commit comments

Comments
 (0)