opennode-php
opennode-php copied to clipboard
Doesn't work with composer
Using composer I got the following error:
Fatal error: Class 'OpenNode\Unauthorized' not found in /root/www/lightning-flip/vendor/opennode/opennode-php/lib/Exception.php on line 31
However without composer there was no issue. I tried requiring the same library directly
require_once("/composer/opennode/opennode-php/init.php");
And it worked like a charm! Am I doing something wrong?
Thanks for the feedback. It looks like psr4 doesn't allow to have multiple classes in the same file. A fix is coming.
Meanwhile feel free to use it in the manual
way.
Great! Awesome library by the way!