Skip to content

Commit b554c12

Browse files
Merge pull request Ashishkumbhar01#68 from CodeWithSushil/1.x
update
2 parents 362f7de + 7eac746 commit b554c12

File tree

2 files changed

+21
-49
lines changed

2 files changed

+21
-49
lines changed

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.env
1+
/.env
22
/vendor/
3-
composer.lock
4-
3+
/composer.lock
4+
/.phpunit.cache/

README.md

Lines changed: 18 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,25 @@
1010

1111
Supabase client for PHP:
1212
- 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.
1515

16+
---
1617

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,
2220
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+
---
3932
4033
### `Install`
4134
* Install Supabase client for our project.
@@ -154,27 +147,6 @@ $data = [
154147
];
155148

156149
$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-
180150

151+
```
152+
---

0 commit comments

Comments
 (0)