File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,14 @@ You may publish the config file with:
3333php artisan vendor:publish --tag=" crisp-whatsapp-config"
3434```
3535
36+ You may also publish the migration file if you want to log your whatsapp requests with
37+
38+ ``` bash
39+ php artisan vendor:publish --tag=" crisp-whatsapp-migrations" ` ` `
40+ ` ` ` `
41+
42+ And set ` CRISP_WHATSAPP_LOG_REQUESTS` in your ` .env` file to true
43+
3644This is the contents of the published config file:
3745
3846` ` ` php
@@ -53,6 +61,9 @@ return [
5361 ' to_test_phone' => env(' CRISP_WHATSAPP_TO_TEST_PHONE' ),
5462
5563 ' enable_caching' => env(' CRISP_WHATSAPP_ENABLE_CACHE' , true),
64+
65+ // if you want to log whatsapp requests, you will need to publish migration if this is true
66+ ' log_requests' => env(' CRISP_WHATSAPP_LOG_REQUESTS' , false),
5667];
5768` ` `
5869
Original file line number Diff line number Diff line change 1818
1919 'enable_caching ' => env ('CRISP_WHATSAPP_ENABLE_CACHING ' , true ),
2020
21+ // if you want to log whatsapp requests, you will need to publish migration if this is true
2122 'log_requests ' => env ('CRISP_WHATSAPP_LOG_REQUESTS ' , false ),
2223];
You can’t perform that action at this time.
0 commit comments