gopay/payments-sdk-php
GoPay's PHP SDK for Payments REST API
1.11.1
1.8M downloads/mo
#4376 most downloaded on Packagist
gopaycommunity/gopay-php-api
What this package is like to depend on
Last release 4 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
3 releases in the last 12 months
see the full history below
Release timeline
46 releases · Nov 2015 to Apr 2026Releases
latest 47-
1.11.116 Apr 2026 -
1.11.008 Apr 2026 -
1.10.413 Oct 2025 -
1.10.305 Jun 2025 -
1.10.207 Jan 2025Nothing published for this version
-
1.10.124 Sep 2024 -
1.10.012 Sep 2024Nothing published for this version
-
1.9.006 Sep 2024 -
1.8.003 Sep 2024Release notes
Open source →- Added support for history of refunds, see https://doc.gopay.com/#history-of-refunds
-
v1.7.320 Sep 2023 -
v1.7.212 Sep 2023Nothing published for this version
-
v1.7.112 Jun 2023Nothing published for this version
-
v1.7.017 May 2023Nothing published for this version
-
v1.6.2no dateNothing published for this version
-
v1.6.112 Jan 2023Nothing published for this version
-
v1.6.012 Jan 2023Nothing published for this version
-
v1.5.710 Nov 2022Nothing published for this version
-
v1.5.610 Aug 2022Nothing published for this version
-
v1.5.514 Jul 2022Nothing published for this version
-
v1.5.427 Apr 2022Nothing published for this version
-
v1.5.330 Mar 2022Nothing published for this version
-
v1.5.216 Feb 2022Nothing published for this version
-
v1.5.102 Feb 2022Nothing published for this version
-
v1.5.001 Feb 2022Nothing published for this version
-
v1.4.707 Dec 2021Nothing published for this version
-
v1.4.602 Nov 2021 -
v1.4.510 Aug 2021Release notes
Open source →isProductionModeis now deprecated and will be removedgatewayUrlparameter is preferred way to set gateway urlSupercashpayment method is no longer supported by the payment gateways, relevant code marked as deprecated
-
v1.4.412 Oct 2020 -
v1.4.313 Aug 2020Release notes
Open source →isProductionModemay now take anything that can be resolved as a boolean via filter_var ("yes", "true", true ...)
-
v1.4.202 Jul 2020Nothing published for this version
-
v1.4.111 Jul 2019Nothing published for this version
-
v1.4.014 Dec 2018Nothing published for this version
-
v1.3.614 Dec 2018Nothing published for this version
-
v1.3.510 Jul 2018Nothing published for this version
-
v1.3.402 Nov 2017Nothing published for this version
-
v1.3.302 Nov 2017Nothing published for this version
-
v1.3.205 Oct 2017Nothing published for this version
-
v1.3.129 Aug 2017Nothing published for this version
-
v1.3.025 Jul 2017Nothing published for this version
-
v1.2.303 May 2017Nothing published for this version
-
v1.2.228 Apr 2017Nothing published for this version
-
v1.2.121 Feb 2017Nothing published for this version
-
v1.2.013 Feb 2017 -
v1.1.111 Apr 2016Release notes
Open source →- Fix
GoPay\Definition\Payment\BankSwiftCode::KOMERCNI_BANKA - Composer
autoload-dev - Update badges in readme (#2)
- Fix
-
v1.1.007 Dec 2015Release notes
Open source →- Add travis-ci
- Simplified token caching, based on python-sdk
TokenCachehandles only set/get token, noisExpiredmethod$clientis passed as first argument instead ofsetClientmethodgetAccessTokencan return null if token does not exist
Before
<?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(); } }After
<?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; } } -
v1.0.123 Nov 2015 -
v1.0.002 Nov 2015Release notes
Open source →- Call every API method without validation
- Cache access token
- Log HTTP communication