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.


After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-gitlab-api

GitLab PHP API Client

We present a modern GitLab API v4 client for PHP.


Build Status StyleCI Status Packagist Downloads Latest Version

This is strongly based on php-github-api by KnpLabs. With this in mind, we now have very similar clients for:

Check out the contribution guidelines.


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



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.


We will gladly receive issue reports and review and accept pull requests, in accordance with our contribution guidelines!


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.


GitLab PHP API Client is licensed under The MIT License (MIT).

All versions of php-gitlab-api with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4.15 || ^8.0.2
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package m4tthumphrey/php-gitlab-api contains the following files

Loading the files please wait ....