Files
HRM-System/vendor/coingate/coingate-php/CHANGELOG.md
2026-04-13 08:19:53 +08:00

1.5 KiB

CoinGate PHP library release notes

v4.1.0

  • ApiKey is no more mandatory when creating a Client. Useful when you want to perform Public API calls only.
  • Added possibility for late $client->setApiKey('YOUR_API_TOKEN') and $client->setEnvironment('sandbox') assignments.
  • Added support for Public API calls.

v4.0.0

  • Library now requires PHP 7.3.0 or greater.
  • Added support for an additional Payment Gateway API calls.
  • Added possibility to extend and/or use custom HttpClient.

Breaking Changes

  • Library was completely refactored from the ground up and resulted into usage changes.
    • \CoinGate\CoinGate::config(...) => $client = new \CoinGate\Client('YOUR_API_TOKEN')
    • \CoinGate\Merchant\Order::create($params) => $client->order->create($params)
    • \CoinGate\Merchant\Order::find(7294) => $client->order->get(7294)