|
10 | 10 |
|
11 | 11 | Supabase client for PHP: |
12 | 12 | - Realtime database, Storage, Authentication and many more. |
13 | | -- When you creating your supabase table, make sure RLS (Row Level Security) option be [×] disable. |
14 | | -- If RLS are enable [✓] maybe you getting some errors. |
| 13 | +- [ ] When you creating your supabase table, make sure RLS (Row Level Security) option be disable. |
| 14 | +- [x] If RLS are enable maybe you getting some errors. |
15 | 15 |
|
| 16 | +--- |
16 | 17 |
|
17 | | -<details> |
18 | | -<summary><h3> ⚠️ Warning </h3> |
19 | | -</summary> |
20 | | -<p><b><i> |
21 | | -if you push the code to production while Row-Level Security (RLS) is disabled, |
| 18 | +> [!WARNING] |
| 19 | +> if you push the code to production while Row-Level Security (RLS) is disabled, |
22 | 20 | it can pose a security threat to your application. To secure your app, please enable Row-Level Security. |
23 | | -Otherwise, write an Object-Oriented PDO connection with PostgreSQL. |
24 | | -</i> |
25 | | -</b> |
26 | | -</p> |
27 | | - |
28 | | -### Env config code: |
29 | | - ```env |
30 | | -HOST=aws-o-ap-south-pool.supabase.com |
31 | | -PORT=6543 |
32 | | -USERNAME=postgres.grufgrcytvrh |
33 | | -PASSWORD=[Your Password] |
34 | | -DATABASE=postgres |
35 | | -``` |
36 | | -</details> |
37 | | - |
38 | | - |
| 21 | +Otherwise, write an Object-Oriented PDO connection with PostgreSQL. |
| 22 | + |
| 23 | +> ### Env config code: |
| 24 | +> ```env |
| 25 | +> HOST=aws-o-ap-south-pool.supabase.com |
| 26 | +> PORT=6543 |
| 27 | +> USERNAME=postgres.grufgrcytvrh |
| 28 | +> PASSWORD=[Your Password] |
| 29 | +> DATABASE=postgres |
| 30 | +> ``` |
| 31 | +--- |
39 | 32 |
|
40 | 33 | ### `Install` |
41 | 34 | * Install Supabase client for our project. |
@@ -154,27 +147,6 @@ $data = [ |
154 | 147 | ]; |
155 | 148 |
|
156 | 149 | $client->matchs('table name', $data); |
157 | | -``` |
158 | | - |
159 | | -### Authentication |
160 | | -* Auth Class coming soon. |
161 | | - |
162 | | - |
163 | | -### Storage |
164 | | -* storage class coming soon. |
165 | | -* |
166 | | - |
167 | | - |
168 | | - |
169 | | - |
170 | | - |
171 | | - |
172 | | - |
173 | | - |
174 | | - |
175 | | - |
176 | | - |
177 | | - |
178 | | - |
179 | | - |
180 | 150 |
|
| 151 | +``` |
| 152 | +--- |
0 commit comments