Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tuefekci authored Mar 29, 2023
1 parent 94ac4ce commit ba301a7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ use tuefekci\deta\Deta;
$deta = new Deta('your_project_id', 'your_api_key');
```

If you have set ENV Variables or ar in a Deta Micro you can leave the keys out.
```php
use tuefekci\deta\Deta;
$deta = new Deta();
```

Then, you can use the `base` method to get a reference to a base in your project:

```php
Expand Down

0 comments on commit ba301a7

Please sign in to comment.