NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #4061 most downloaded on Packagist
GoPay's PHP SDK for Payments REST API
Last release 5 months ago
16 Apr 2026
Release timing varies
gaps range from 8 days to 12 months
Some releases are documented
notes for 17 of 47 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
47 releases · first in 2015
Added encoding of data, support for BGN
Added encoding of data, support for BGN
Added new QR payment feature
Added new QR payment feature
Added new bank swifts - Revolut, bank365
Added new bank swifts - Revolut, bank365
One column per quarter.
Added new bank swift PTBNCZPP
Added new bank swift PTBNCZPP
Nothing published for this version
Added User-Agent with version
Added User-Agent with version
Nothing published for this version
Added BNPL Payment method
Added support for history of refunds, see https://doc.gopay.com/#history-of-refunds
fixes #60
fixes #60
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
- Added _5048 substate
_5048 substateisProductionMode is now deprecated and will be removed
isProductionMode is now deprecated and will be removedgatewayUrl parameter is preferred way to set gateway urlSupercash payment method is no longer supported by the payment gateways, relevant code marked as deprecatedDropped support for Guzzle 5 depedency
isProductionMode may now take anything that can be resolved as a boolean via filter_var ("yes", "true", true ...)
isProductionMode may now take anything that can be resolved as a boolean via filter_var ("yes", "true", true ...)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
* Added EET Support
Fix GoPay\Definition\Payment\BankSwiftCode::KOMERCNI_BANKA
GoPay\Definition\Payment\BankSwiftCode::KOMERCNI_BANKAautoload-devSimplified token caching, based on python-sdk
TokenCache handles only set/get token, no isExpired method$client is passed as first argument instead of setClient methodgetAccessToken can return null if token does not exist<?php
use GoPay\Token\TokenCache;
use GoPay\Token\AccessToken;
class PrimitiveFileCache extends TokenCache
{
private $file;
public function setClient($client)
{
$this->file = __DIR__ . "/{$client}";
}
public function setAccessToken(AccessToken $t)
{
file_put_contents($this->file, serialize($t);
}
public function getAccessToken()
{
if (file_exists($this->file)) {
return unserialize(file_get_contents($this->file));
}
return $this->getExpiredToken();
}
}
<?php
use GoPay\Token\TokenCache;
use GoPay\Token\AccessToken;
class PrimitiveFileCache implements TokenCache
{
private $file;
private function setClient($client)
{
$this->file = __DIR__ . "/{$client}";
}
public function setAccessToken($client, AccessToken $t)
{
$this->setClient($client);
file_put_contents($this->file, serialize($t);
}
public function getAccessToken($client)
{
$this->setClient($client);
if (file_exists($this->file)) {
return unserialize(file_get_contents($this->file));
}
return null;
}
}
* Add phpunit's bootstrap
Call every API method without validation
Your coding agent can read these notes before it upgrades. Set up the MCP server →