Testing and Tooling
Install dependencies
composer install
Unit tests
composer run test:unit
Acceptance tests (real API)
PDFGATE_API_KEY=your_key composer run test:acceptance
Static analysis
composer run stan
Build documentation
Generate API reference from PHPDoc:
composer run docs:api
If phpDocumentor is not globally available, set PHPDOC_BIN:
PHPDOC_BIN="php /absolute/path/phpDocumentor.phar" composer run docs:api
Render the curated guides into the combined site artifact:
composer run docs:site
Validate markdown links in README.md and docs/:
composer run docs:check-links
Build the combined docs site and run link checks:
composer run docs:build