boen_robot,
I recently enjoyed using your PHP client for a project. Initially the documentation seemed a bit confusing, so I have a couple suggestions.
I went for the quickest setup method, which was using the .phar file, but the wiki left me scratching my head as including the phar file did not make my code work.
require_once 'PEAR2_Net_RouterOS-1.0.0b5.phar';
After some hunting around, I finally figured out I had to include the following line also:
use PEAR2\Net\RouterOS;
…which I now realize was what it was talking about in the phar section of the wiki, but being a PHP novice, I didn’t know what that meant
It would be helpful if that was explicitly stated.
On another note, the usage examples initially confused me as they did not include a password during the connection. It would be helpful to show the password too:
$client = new \PEAR2\Net\RouterOS\Client('example.com', 'admin', 'password');
Thanks!