Recommend this page to a friend! |
Download .zip |
Info | Example | Demos | View files (13) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2020-12-27 (2 months ago) | Not yet rated by the users | Total: 55 | All time: 9,908 This week: 261 |
Version | License | PHP version | Categories | |||
phpgithub 1.3.0 | Free for non-comm... | 7 | PHP 5, Files and Folders, Web services, P... |
Description | Author | |
This library class provides functions to work with the GitHub API v3. |
The class has a dependency with PHP cURL https://www.php.net/manual/en/book.curl.php If that is not working for you, the class won't work for you. Class namespace: namespace php\github; Instantiation: $hub = new php\github\phpGithub(); Optional $hub->AddCurlConfig(CURLOPT_CAINFO, "/path/to/php/curl/cacert.pem"); Sample client $response=$hub->returnRoot(); if($response->success) { echo $response->urlip ." " . $response->url ." " . $response->http_code . "<br>"; } Sample output 140.82.112.6 https://api.github.com/ 200 In tab Example you find a more comprehensive sample github api client |
Files |
File | Role | Description | ||
---|---|---|---|---|
consumer (1 directory) | ||||
ghacadduser2repo.php | Example | Sample invite friends to GitHub Repository | ||
githubclient.php | Example | Sample php client that works with phpGitHub | ||
githubclient_current_user.php | Example | Sample client for calling current_user_url https://api.github.com/user | ||
githubclient_repository_content_tree.php | Example | GitHub Content Tree Walker | ||
githubclient_userprofile.php | Example | Example for phpGithubUser | ||
hubHelper.php | Class | class helper | ||
phpGithub.php | Class | class phpGithub | ||
phpGithubContent.php | Class | class phpGithubContent | ||
phpGithubServiceArray.php | Appl. | AssociativeArray gh mapping between service name and api url | ||
phpGithubUser.php | Class | class phpGithubUser Model for Github user | ||
phpHubResult.php | Class | class phpHubResult | ||
Readme | Doc. | Readme |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.