Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://gitlab.com/aochoae/gitlab-api-php

Automate GitLab via a simple and powerful API.
https://gitlab.com/aochoae/gitlab-api-php

api git gitlab gitlab-api rest

Last synced: about 1 month ago
JSON representation

Automate GitLab via a simple and powerful API.

Awesome Lists containing this project

README

        

# GitLab API

Automate GitLab via a simple and powerful API.

## Requirements

* GitLab version 14.7 or greater
* PHP version 7.4 or greater

## Install

composer require luisalberto/gitlab:dev-main

## Usage

true,
'headers' => [
'PRIVATE-TOKEN' => 'your-private-token'
]
]);

$projects = new \GitLab\Projects\Projects($client);
$response = $projects->getProject(12345678);

echo $response->getBody()->getContents();

## License

See [LICENSE](LICENSE) for the full license text.