Small sample PHP Class which can be used to connect and communicate with the MYOB AccountRightV2 RESTful API.
The examples can Authorise your application, select your Company File and make changes to the Contacts and Sales (Invoices) in your MYOB Company File.
Examples are provided below.
Use Composer to keep up to date.
$ composer require sketchthat/myob-PHP-API
- Find the Developer Dashboard within my.MYOB online and Register an App.
- Rename the file config.example.php to config.php and fill out the relevent fields.
Provided in the examples folder.
This class is very small and is not finalised for production use. If you want to contribute to the class please make a pull request and I'll be happy to merge.