Cannot use libphp-multichain

+1 vote
I want to write a PHP frontend to issue JSON blockchain commands.  I get this error:

student@ubuntu:~$ mkdir s2
student@ubuntu:~$ cd s2
student@ubuntu:~/s2$ composer require kunstmaan/libphp-multichain
Using version ^1.0 for kunstmaan/libphp-multichain
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing fguillot/json-rpc (v1.0.3)
    Loading from cache

  - Installing kunstmaan/libphp-multichain (v1.0.1)
    Loading from cache

Writing lock file
Generating autoload files
student@ubuntu:~/s2$ php vendor/kunstmaan/libphp-multichain/tests/MultichainClientTest.php
PHP Fatal error:  Class 'PHPUnit_Framework_TestCase' not found in /home/student/s2/vendor/kunstmaan/libphp-multichain/tests/MultichainClientTest.php on line 7
student@ubuntu:~/s2$
asked Jun 18, 2016 by Sam Bowne
You need to add PHPUnit_Framework_TestCase to your php install on the server. It is a class extension

1 Answer

0 votes
I'm afraid you'd have to ask the author of this library since this isn't a problem with MultiChain per se - sorry about that.
answered Jun 22, 2016 by MultiChain
...