Skip to content

Commit 5f5b9c8

Browse files
committed
update DOC
1 parent d00cf62 commit 5f5b9c8

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

+27
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,19 @@ You can install the official [Latch PHP SDK by ElevenPaths](https://github.com/E
6868
}
6969
```
7070

71+
After install libraries, You must put eleven_paths as a your latch_driver in your config.yml:
72+
73+
``` yaml
74+
# app/config/config.yml
75+
fourcoders_latch:
76+
latch_app_id: PdHF10WnSDasSINHHZd0n
77+
latch_app_secret: kH1oqtVlWyWZLKQWIJCAKLodd4XUIgMMLQiwag
78+
latch_driver: eleven_paths
79+
latch_redirect: /
80+
latch_operations: ~
81+
```
82+
83+
7184
Second Option:
7285
You can install unofficial [fourcoders/latch-sdk-php](https://github.com/fourcoders/latch-sdk-php). Its very similar to the official Latch PHP SDK by ElevenPaths , however we use composer for managing the dependencies and Guzzle for the HTTP Request.
7386
@@ -81,6 +94,18 @@ You can install unofficial [fourcoders/latch-sdk-php](https://github.com/fourcod
8194
}
8295
```
8396

97+
After install libraries, You must put fourcorders as a your latch_driver in your config.yml:
98+
99+
``` yaml
100+
# app/config/config.yml
101+
fourcoders_latch:
102+
latch_app_id: PdHF10WnSDasSINHHZd0n
103+
latch_app_secret: kH1oqtVlWyWZLKQWIJCAKLodd4XUIgMMLQiwag
104+
latch_driver: fourcoders
105+
latch_redirect: /
106+
latch_operations: ~
107+
```
108+
84109
### Step 2: Enable the bundle
85110
86111
Enable the bundle in the kernel:
@@ -252,6 +277,8 @@ class User
252277

253278
### Step 4: Configure the LatchBundle
254279

280+
How to setup [latch_driver](#step-1-download-latchbundle-using-composer)
281+
255282
``` yaml
256283
# app/config/config.yml
257284
fourcoders_latch:

0 commit comments

Comments
 (0)