PHP Wrapper for BiblioCommons API
Clone the repository, cd
onto your cloned directory and run composer:
php composer.phar install
php composer.phar install --dev
alias phpunit='php vendor/phpunit/phpunit/phpunit.php'
phpunit tests
or
phpunit --testdox tests
Work fine with PHPDocumentor (and probably others as well).
phpdoc -d src -t docs
To install PHPDocumentor:
pear channel-discover pear.phpdoc.org
pear install phpdoc/phpDocumentor-alpha
NOTE: You may have to also install GraphViz in order for phpdoc to run without errors.
If your are using PHP 5.4 or greater, you can use the built-in web server to run the demo:
php -S localhost:8000
Then go to browser and open http://localhost:8000/demo.php