PHP client for the CloudForest Marketplace API.
composer require cloudforest/api-client-php
Fetch recent changes with:
composer require cloudforest/api-client-php
The client is documented with phpdoc. To read it, you could read the code in
the ./vendors/cloudforest/api-client-php/src
folder. Or
install phpdoc
then extract the documentation to your project with:
phpdoc -d vendor/cloudforest/api-client-php/src -t ./docs
You can then open ./docs/index.html
in a browser.
You can run php-cs-fixer and phpstan:
composer run phpcs:check
composer run phpcs:fix
composer run phpstan
This will run a suite of tests against a CloudForest Marketplace server such as cfdev.cloudforest.marketplace.
Copy phpunit.dist.xml to phpunit.xml and fill in the environment variables. Then run:
composer run phpunit
You can generate a JSON Schema from the PHP spec classes with:
composer run schema