The latest version on packagist is not up-to-date (missing autoload section in composer.json).
Even if I install current version with "composer require coinpaymentsnet/coinpayments-php" and then add "classmap": ["/src"] to vendor/coinpaymentsnet/coinpayments-php/composer.json classes are still not auto loaded by composer.
As a workaround I just added this to the root composer.json:
"classmap": ["/src"]
to vendor/coinpaymentsnet/coinpayments-php/composer.json classes are still not auto loaded by composer.As a workaround I just added this to the root composer.json: