You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+49-20Lines changed: 49 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,23 +4,23 @@ This is a [bexio API](https://docs.bexio.com) client, built with [`saloonphp/sal
4
4
5
5
## Introduction
6
6
7
-
The bexio API PHP Client allows you to interact with the bexio API seamlessly. It provides a simple and intuitive interface to manage contacts, sales orders, accounting, and more. As we come from the Laravel world we gave this client a Laravel-like feel.
7
+
The bexio API PHP Client allows you to interact with the bexio API seamlessly. It provides a simple and intuitive interface to manage contacts, sales orders, accounting, and more. As we come from the Laravel world we gave this client a Laravel-like feel but still keeping it framework agnostic.
8
8
9
9
## Installation
10
10
11
11
```sh
12
12
composer require gigerit/bexio-api-client
13
13
```
14
14
15
-
## Examples
15
+
## Quick Start
16
16
17
-
### Contacts
17
+
### Basic Contact Operations
18
18
19
19
Get a Contact by ID:
20
20
21
21
```php
22
22
use Bexio\BexioClient;
23
-
use Bexio\Resources\Contact;
23
+
use Bexio\Resources\Contacts\Contacts\Contact;
24
24
25
25
$client = new BexioClient('API_TOKEN');
26
26
@@ -37,7 +37,7 @@ Get all Contacts:
37
37
38
38
```php
39
39
use Bexio\BexioClient;
40
-
use Bexio\Resources\Contact;
40
+
use Bexio\Resources\Contacts\Contacts\Contact;
41
41
42
42
$client = new BexioClient('API_TOKEN');
43
43
@@ -56,47 +56,76 @@ Create a Contact:
56
56
57
57
```php
58
58
use Bexio\BexioClient;
59
-
use Bexio\Resources\Contact;
59
+
use Bexio\Resources\Contacts\Contacts\Contact;
60
+
use Bexio\Resources\Contacts\Contacts\Enums\ContactType;
0 commit comments