I don't have to install PEAR and any other thing.
Just FYI... With mine, you don't have to install PEAR any other thing either. Don't let the name fool you. You may
*, but you don't have to. You can just download the PHAR file, and include it, as in the example code above.
This is in fact one step less
than with Denis' class. With Denis' class, you need to
1. Create a PHP file.
2. Copy & paste the client's source code into the file.
3. Save the file.
4. Create a new PHP file that would use the client.
5. Include the previously created file.
With mine, you need to
1. Click to download the file.
2. Save the PHAR file.
3. Create a new PHP file that would use the client.
4. Include the PHAR file.
Anyway, I will install and learn other two too and see what is the benefit of each.
Here's one unique benefit for you
If you do choose my API client in the end, I'm offering to migrate your existing app from Denis Basta's class to mine, for free, and depending on the size of your app so far, I can do it in somewhere between an hour or two days at worst. All I need is the source code in whatever form is convenient for you (archive, private Git repo, whatever...), and it should go without saying that I agree not to make it public without explicit authorization from you.
Feel free to do that yourself of course (as a mean to get used to the client), but know you don't have to.
* If you do have PEAR or Composer installed, you can install other libraries with them, and ensure everything is compatible with everything else, and is as updated as possible. Otherwise, you need to "manually" check each library for updates, download the new thing, and hope it doesn't break anything (which, in fairness, would be rare).