github-api

Github API easy access

Downloads
164.3K
Stars
91
Committers
4

Bot releases are hidden (Show)

github-api - Released version 2.0.2 Latest Release

Published by milo 11 months ago

  • support PHP 8.3
github-api - Released version 2.0.1

Published by milo almost 2 years ago

  • support PHP 8.2
github-api - Released version 2.0.0

Published by milo almost 3 years ago

The 2.0.0 release is the same as the 1.4.9 but it requires PHP 8.0 at least. There are no logic changes in code, only newer PHP features are used. Mainly strict types declaration, type hints, return types and promoted constructor properties.

One may hit problems with scalar typehints for HTTP return code (used to accept string, now only integer is accepted) and headers value (used to accept integers and nulls, now have to be strings).

  • require PHP >= 8.0
  • declare(strict_types=1);
  • class Sanity replaced by trait Strict
  • type hints, return types, promoted properties
github-api - Released version 1.4.9

Published by milo almost 3 years ago

  • fixed PHP 8.1 compatibility (#33)
github-api - Released version 1.4.8

Published by milo over 3 years ago

  • updated bundled CA chain
github-api - Released version 1.4.7

Published by milo almost 5 years ago

  • added getter and setter for default Accept header (#29)
github-api - Released version 1.4.6

Published by milo almost 6 years ago

  • CachedClient: Last-Modified and ETag headers are sent simultaneously
github-api - Released version 1.4.5

Published by milo over 7 years ago

  • Colon parameters in URL can be separated by dot.
github-api - Released version 1.4.4

Published by milo almost 8 years ago

  • Added Api::withUrl() factory
  • Api accepts absolute https:// URLs with different hostname (see #18)
github-api - Released version 1.4.3

Published by milo about 9 years ago

  • token is stored in session as an array
github-api - Released version 1.4.2

Published by milo over 9 years ago

  • fixed CA issue for cURL on OSX [See #13]
github-api - Released version 1.4.1

Published by milo over 9 years ago

  • StreamClient, CurlClient: fixed multiple line headers receiving [Ref #8]
  • Api: errors property is optional in error responses [Ref #9]
github-api - Released version 1.4.0

Published by milo almost 10 years ago

  • Api: protected method substituteUrlParameters() replaced by expandColonParameters() [BC break]
  • Api: all request methods accepts full URL (with hostname)
  • Api: all request methods accepts URI Template (RFC 6570)
  • CachedClient: header 'Last-Modified' has higher priority than 'ETag'
github-api - Released version 1.3.0

Published by milo about 10 years ago

  • CurlClient: fixed headers parsing when used with proxy
  • CachedClient: added option to forbid Github rechecking (permanent cache)
github-api - Released version 1.2.1

Published by milo about 10 years ago

  • fixed cache directory creation in FileCache
  • added RateLimitExceedException
github-api - Released version 1.2.0

Published by milo over 10 years ago

  • CurlClient and StreamClient checks SSL peer certificate as default
  • CurlClient uses HTTP 1.1 Connection: keep-alive
github-api - Released version 1.1.0

Published by milo over 10 years ago

  • added Milo\Github\Paginator
  • added Api::paginator()
github-api - Released version 1.0.1

Published by milo over 10 years ago

  • added Api::getToken()
  • added CachedClient::getInnerClient()
  • Helpers::createDefaultClient() returns lastly created instance
  • Cached::client() delegates onRequest() event only
github-api - First stable release 1.0.0

Published by milo over 10 years ago

Allows you to:

  • use cURL or
  • use plain stream as a HTTP client
  • cache HTTP requests to save raice limit
  • obtain OAuth token in easy way
  • observe an incoming/outgoing HTTP activity
Package Rankings
Top 1.78% on Packagist.org
Badges
Extracted from project README
Downloads this Month Tests