Download the PHP package m4tthumphrey/php-gitlab-api without Composer
On this page you can find all versions of the php package m4tthumphrey/php-gitlab-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download m4tthumphrey/php-gitlab-api
More information about m4tthumphrey/php-gitlab-api
Files in m4tthumphrey/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 - m4tthumphrey/php-gitlab-api which is this package!
Check out the contribution guidelines.
Installation
This version supports PHP 7.4-8.3. 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
Framework Integration
Laravel:
Symfony:
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]. 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.8.1 || ^2.0
php-http/client-common Version ^2.7.1
php-http/discovery Version ^1.19.2
php-http/httplug Version ^2.4
php-http/multipart-stream-builder Version ^1.3
psr/cache Version ^1.0 || ^2.0 || ^3.0
psr/http-client-implementation Version ^1.0
psr/http-factory-implementation Version ^1.0
psr/http-message Version ^1.1 || ^2.0
symfony/options-resolver Version ^4.4 || ^5.0 || ^6.0 || ^7.0
symfony/polyfill-php80 Version ^1.26