Skip to content

Commit 4207e0a

Browse files
authored
Improve language on API calls
1 parent 99db211 commit 4207e0a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ From `$client` object, you can access the full Private Packagist Api.
3434

3535
#### Customer
3636

37-
##### List all customers for the organization
37+
##### List an organization's customers
3838
```php
3939
$customers = $client->customers()->all();
4040
```
@@ -53,13 +53,13 @@ $customerId = 42;
5353
$client->customers()->remove($customerId);
5454
```
5555

56-
##### List all packages a customer
56+
##### List a customer's packages
5757
```php
5858
$packages = $client->customers()->listPackages();
5959
```
6060
Returns an array of customer packages.
6161

62-
##### Add packages to a customer
62+
##### Grant a customer access to a package
6363
```php
6464
$customerId = 42;
6565
$packages = [
@@ -69,7 +69,7 @@ $packages = $client->customers()->addPackages($customerId, $packages);
6969
```
7070
Returns an array of added customer packages.
7171

72-
##### Remove a package from a customer
72+
##### Revoke access to a package from a customer
7373
```php
7474
$customerId = 42;
7575
$packageId = 12;
@@ -78,7 +78,7 @@ $client->customers()->removePackage($customerId, $packageId);
7878

7979
#### Package
8080

81-
##### List all packages for the organization
81+
##### List an organization's packages
8282
```php
8383
$packages = $client->packages()->all();
8484
```

0 commit comments

Comments
 (0)