Download the PHP package muffin/github without Composer
On this page you can find all versions of the php package muffin/github. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download muffin/github
More information about muffin/github
Files in muffin/github
Package github
Short Description Github Webservice (API) for CakePHP 3.
License MIT
Homepage https://github.com/usemuffin/github
Informations about the package github
Github
Github Webservice (API) for CakePHP 3.
Install
Using Composer:
You then need to load the plugin. You can use the shell command:
or by manually adding statement shown below to boostrap.php
:
Usage
In your app.php
, configure your github
service like any other configuration, by adding a new element to the configure array:
or, to use a token for example (and full namespaced driver):
or using your username/password combination:
or using your client ID and secret:
You will also need to load the webservices if you haven't already done that in your
bootstrap.php
file:
Now, from anywhere, you could call the webservice like so:
Patches & Features
- Fork
- Mod, fix
- Test - this is important, so it's not unintentionally broken
- Commit - do not mess with license, todo, version, etc. (if you do change any, bump them into commits of their own that I can ignore when I pull)
- Pull request - bonus point for topic branches
To ensure your PRs are considered for upstream, you MUST follow the CakePHP coding standards.
Bugs & Feedback
http://github.com/usemuffin/github/issues
License
Copyright (c) 2015, [Use Muffin] and licensed under The MIT License.