This is a simple Object Oriented wrapper for GitHub API v3, written with PHP7.
This library works with cURL and provides all documented functionality as described in the official documentation including Client and WebHooks.
1<?php
2// Create a client object
3$client = new \FlexyProject\GitHub\Client();
4
5// Miscellaneous
6$miscellaneous = $client->getReceiver(\FlexyProject\GitHub\Client::MISCELLANEOUS);
7
8// Lists all the emojis available to use on GitHub.
9$emojis = $miscellaneous->getReceiver(\FlexyProject\GitHub\Receiver\Miscellaneous::EMOJIS);
10$emojis->get();
© 2013-2024 All rights reserved.