Download the PHP package pselge-daparto/php-gitlab-api without Composer
On this page you can find all versions of the php package pselge-daparto/php-gitlab-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pselge-daparto/php-gitlab-api
More information about pselge-daparto/php-gitlab-api
Files in pselge-daparto/php-gitlab-api
Package php-gitlab-api
Short Description GitLab API v4 client for PHP
License MIT
Informations about the package php-gitlab-api
GitLab PHP API Client
We present a modern GitLab API v4 client for PHP.
This is strongly based on php-github-api by KnpLabs. With this in mind, we now have very similar clients for:
- Bitbucket - bitbucket/client by Graham Campbell.
- GitHub - knplabs/github-api by KnpLabs.
- GitLab - pselge-daparto/php-gitlab-api which is this package!
Check out the contribution guidelines.
Installation
This version supports PHP 7.1-7.4. To get started, simply require the project using Composer. You will also need to install packages that "provide" psr/http-client-implementation
and psr/http-factory-implementation
.
Standard Installation
PHP 7.1+:
PHP 7.2+:
Framework Integration
Laravel 6+:
Symfony 4:
Symfony 5:
We are decoupled from any HTTP messaging client by using PSR-7, PSR-17, PSR-18, and HTTPlug. You can visit HTTPlug for library users to get more information about installing HTTPlug related packages. The framework integration graham-campbell/gitlab is by Graham Campbell and zeichen32/gitlabapibundle is by Jens Averkamp.
General API Usage
Self-Hosted GitLab
Example with Pager
HTTP Client Builder
By providing a Gitlab\HttpClient\Builder
to the Gitlab\Client
constructor, you can customize the HTTP client. For example, to customize the user agent:
One can read more about HTTPlug plugins here. Take a look around the API methods, and please feel free to report any bugs, noting our code of conduct.
Contributing
We will gladly receive issue reports and review and accept pull requests, in accordance with our contribution guidelines!
Security
If you discover a security vulnerability within this package, please send an email to Graham Campbell at [email protected] or Miguel Piedrafita at [email protected]. All security vulnerabilities will be promptly addressed. You may view our full security policy here.
License
GitLab PHP API Client is licensed under The MIT License (MIT).
All versions of php-gitlab-api with dependencies
ext-json Version *
ext-xml Version *
php-http/cache-plugin Version ^1.7
php-http/client-common Version ^2.3
php-http/discovery Version ^1.12
php-http/httplug Version ^2.1
php-http/multipart-stream-builder Version ^1.1
psr/cache Version ^1.0
psr/http-client-implementation Version ^1.0
psr/http-factory-implementation Version ^1.0
psr/http-message Version ^1.0
symfony/deprecation-contracts Version ^2.1
symfony/options-resolver Version ^3.4 || ^4.0 || ^5.0
symfony/polyfill-php80 Version ^1.17