Skip to content

lesstif/php-gitlab-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitLab API For PHP User

Requirements

Installation

  1. Download and Install PHP Composer.

    curl -sS https://getcomposer.org/installer | php
  2. Next, run the Composer command to install the latest version of php jira rest client.

    php composer.phar require lesstif/php-gitlab-api 

    or add the following to your composer.json file.

    {
        "require": {
            "lesstif/php-gitlab-api"
        }
    }
  3. Run the composer install command.

    $ composer install
  4. Now you need define your a Gitlab connection info into .env configuration.

    GITLAB_HOST="https://your-gitlab.host.com"
    GITLAB_TOKEN="gitlab-private-token-for-api"
    

Usage

Project

User

Get Project Info

<?php
require 'vendor/autoload.php';

Get User List

<?php
require 'vendor/autoload.php';

License

Apache V2 License

See Also

About

gitlab rest api for PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages