Skip to content

hexmode/php-gerrit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhpGerrit

This is a simple PHP interface to interact with Gerrit’s REST API.

It was written when I saw pygerrit2.

Installation

To use phpGerrit in your project, simply:

composer require hexmode/php-gerrit

Usage

use Hexmode\PhpGerrit\GerritRestAPI;

$rest = new GerritRestAPI( 'https;//gerrit.wikimedia.org' );
$changes = $rest->get( "/changes/?q=owner:self status:open" );
foreach ( $changes as $change ) {
    var_dump( $change );
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages