Skip to content

GitLabApi ​

php
interface Zairakai\LaravelDevTools\Update\GitLabApi

A call of the API of GitLab.

Source: src/Update/GitLabApi.php

Methods ​

call() ​

php
public function call(string $method, string $path, array $body = null, string $token = null): array
ParameterDescription
$tokenThe token of the call, GITLAB_TOKEN when not given.

Returns array{status: int, ok: bool, data: mixed}

startUpdate() ​

php
public function startUpdate(string $projectId, string $token = null): array

Starts the update of the dependencies in a project: a pipeline of develop with UPDATE_DEPENDENCIES.

Returns array{status: int, ok: bool, data: mixed}

Documentation of 5.5.0 , built from 92a7387 on 5.5.0 by pipeline #3086393151 on 2026-11-18.