2017 © Pedro Peláez
 

library gogs-client

Gogs client on guzzle php

image

b-connect/gogs-client

Gogs client on guzzle php

  • Friday, July 21, 2017
  • by erik.seifert
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Gogs PHP Client

Chainable

use bconnect\GogsClient\GogsService;

$service = new GogsService('http://try.gogs.io/api/v1/', 'admin', 'admin');

foreach ($orgs->getOrganisations() as $org) {
  print $org->getUsername() . "\n";
  foreach ($org->getRepositories() as $rep) {
    print "----" . $rep->getFullname() . "\n";
    try {
      $rep->getFileContent('master', 'composer.json');
      print "------------- HAS COMPOSER\n";
    } catch (\Exception $ex) {
      print "------------- NO COMPOSER\n";
    }
  }
}

The Versions

21/07 2017

dev-master

9999999-dev

Gogs client on guzzle php

  Sources   Download

The Requires

 

The Development Requires

by Erik Seifert