The xero-php library supports all application types – public, private and partner. It was developed and is actively supported by the Xero community. This library takes a more modern object oriented approach and can be included in your project via Composer.
The XeroOAuth-PHP library can be used with all application types – public, private and partner.
Not sure how to use the sample code? No worries, here is a hello world tutorial to help you get started using XeroOAuth-PHP.