Skip to content

Commit a0f1885

Browse files
Clarified installation docs
1 parent f57443d commit a0f1885

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

README.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,38 @@ Check out the [change log](CHANGELOG.md), [releases](https://github.com/GitLabPH
2525

2626
This version supports [PHP](https://php.net) 5.6-7.4. To get started, simply require the project using [Composer](https://getcomposer.org). You will also need to install any package that "provides" [`php-http/client-implementation`](https://packagist.org/providers/php-http/client-implementation).
2727

28-
### PHP 5.6+:
28+
### Standard Installation
29+
30+
#### PHP 5.6+:
2931

3032
```
3133
$ composer require m4tthumphrey/php-gitlab-api:^9.18 php-http/guzzle6-adapter:^2.0.1
3234
```
3335

34-
### Laravel 5.5+:
36+
### Framwork Integrations
37+
38+
#### Laravel 5.5+:
3539

3640
```
3741
$ composer require graham-campbell/gitlab:^2.7 php-http/guzzle6-adapter:^2.0.1
3842
```
3943

40-
### Symfony 3+:
44+
#### Laravel 6+:
45+
46+
```
47+
$ composer require graham-campbell/gitlab:^3.2 php-http/guzzle6-adapter:^2.0.1
48+
```
49+
50+
#### Symfony 2.6+:
51+
52+
```
53+
$ composer require zeichen32/gitlabapibundle:^3.1 php-http/guzzle6-adapter:^2.0.1
54+
```
55+
56+
#### Symfony 5+:
4157

4258
```
43-
$ composer require zeichen32/gitlabapibundle:^2.6 php-http/guzzle6-adapter:^2.0.1
59+
$ composer require zeichen32/gitlabapibundle:^4.0 php-http/guzzle6-adapter:^2.0.1
4460
```
4561

4662
We are decoupled from any HTTP messaging client by using [PSR-7](https://www.php-fig.org/psr/psr-7/) and [HTTPlug](https://httplug.io/). You can visit [HTTPlug for library users](https://docs.php-http.org/en/latest/httplug/users.html) to get more information about installing HTTPlug related packages. The framework integration [graham-campbell/gitlab](https://github.com/GrahamCampbell/Laravel-GitLab) is by [Graham Campbell](https://github.com/GrahamCampbell) and [zeichen32/gitlabapibundle](https://github.com/Zeichen32/GitLabApiBundle) is by [Jens Averkamp](https://github.com/Zeichen32).

0 commit comments

Comments
 (0)