Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

GitLab API v4

Security covered Under active development 34 sites

This module allows your Drupal site to interact with GitLab instances using the GitLab API. It supports multiple GitLab server configurations and provides access to all API resources, enabling features like creating GitLab projects from webform submissions and using API methods within ECA models.

This module integrates to GitLab utilizing the GitLab API version 4.

All API resources are available through simple calls like

$api = \Drupal::service('gitlab_api.api');
$groups = $api->getClient()->groups();

to receive a list of all groups on a GitLab instance.

The module supports GitLab server profiles as config entities, so you can create as many you like and talk to all the GitLab instances that matter to you from within your Drupal site.

Beware, if you're using this together with Drupal's GitLab instance at git.drupalcode.org, you may have limited access due to restricted permissions, see Allow full access to Gitlab API (subject to user permission limits) for further details.

This module utilizes the GitLabPHP Client and dynamically provides all the methods, that are implemented there, to the API service of this module.

Full documentation of the GitLab API can be found at https://docs.gitlab.com/ee/api/api_resources.html

With the ECA GitLab API submodule, you can also leverage all API methods from within ECA models.

This module also comes with a webform handler plugin which allows you to create a new project from a webform submission.

Drupal 10 · not 11 PHP >=8.1

Ask your assistant about GitLab API v4

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
9
Tracked since
Mar 2023
Latest release
5 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
3.0.0-alpha1 Pre-release 11 May 12, 2026
3.0.x-dev Dev 11 May 6, 2026
2.3.0-beta1 Pre-release 10–11 PHP >=8.1 Jun 20, 2024
2.2.1 Stable 10 PHP >=8.1 Jun 20, 2024
2.3.x-dev Dev 10–11 PHP >=8.1 Jun 20, 2024
2.2.0 Stable 10–11 PHP >=8.1 Nov 29, 2023
2.2.0-beta1 Pre-release 10–11 PHP >=8.1 Nov 20, 2023
2.2.x-dev Dev 10 PHP >=8.1 Oct 12, 2023
2.1.1 Stable 9–10 PHP >=7.4 Mar 17, 2023