Skip to content

Commit 2e05a9b

Browse files
Tweaked README
1 parent 7cc353f commit 2e05a9b

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
@@ -33,7 +33,7 @@ This version supports [PHP](https://php.net) 5.6-7.4. To get started, simply req
3333
$ composer require m4tthumphrey/php-gitlab-api:^9.18 php-http/guzzle6-adapter:^2.0.1
3434
```
3535

36-
### Framework Integrations
36+
### Framework Integration
3737

3838
#### Laravel 5.5+:
3939

@@ -79,15 +79,15 @@ $project = $client->projects()->create('My Project', [
7979
]);
8080
```
8181

82-
## Self-Hosted GitLab
82+
### Self-Hosted GitLab
8383

8484
```php
8585
$client = new Gitlab\Client();
8686
$client->setUrl('https://git.yourdomain.com');
8787
$client->authenticate('your_http_token', Gitlab\Client::AUTH_HTTP_TOKEN);
8888
```
8989

90-
## Example with Pager
90+
### Example with Pager
9191

9292
to fetch all your closed issue with pagination ( on the gitlab api )
9393

@@ -97,7 +97,7 @@ $issues = $pager->fetchAll($client->issues(), 'all', [null, ['state' => 'closed'
9797

9898
```
9999

100-
## Model Usage
100+
### Model Usage
101101

102102
You can also use the library in an object oriented manner:
103103

@@ -121,7 +121,7 @@ $issue = $project->createIssue('This does not work.', [
121121
$issue->close();
122122
```
123123

124-
## HTTP Client Builder
124+
### HTTP Client Builder
125125

126126
By providing a `Gitlab\HttpClient\Builder` to the `Gitlab\Client` constructor, you can customize the HTTP client. For example, to customize the user agent:
127127

0 commit comments

Comments
 (0)