Download the PHP package elegantmedia/oauth2-myob without Composer
On this page you can find all versions of the php package elegantmedia/oauth2-myob. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elegantmedia/oauth2-myob
More information about elegantmedia/oauth2-myob
Files in elegantmedia/oauth2-myob
Package oauth2-myob
Short Description MYOB oAuth Client (based on League's conventions)
License MIT
Homepage https://github.com/elegantmedia/oauth2-myob
Informations about the package oauth2-myob
Myob Provider for OAuth 2.0 Client
This package allows you to use Myob oAuth API.
Before using it, you'll need an API key from developer website.
Other reference links
Website | URL |
---|---|
Developer Site | https://my.myob.com.au/ |
API Reference | https://developer.myob.com/api/accountright/ |
Postman Collection | https://accountrightapi.myob.cloud/?version=latest#intro |
Install
Via Composer
Usage
Authorization
The example below shows how to get an authorization URL from the Provider. For a complete example see examples/auth.php.
Get Token
The example below shows how to get an access token from the Provider. For a complete example see examples/post.php.
Refresh Token
The example below shows how to get an a new token for an expired code. For a complete example see examples/post.php.
Contributing
If you see any bugs, please send a pull-request.
Credits
- Elegant Media
- All Contributors
License
The MIT License (MIT). Please see License File for more information.