Repository navigation
Releases
Releases · Bobospay/bobospay-php
Release v2.0.0
Changed (breaking)
- Complete rewrite targeting the Merchant API v2.
- Entry point changed from static facade
Bobospay::setClientId()to instantiableBobospayClient. - Environment is now detected automatically from the
client_idprefix (ci_dev_*,ci_test_*,ci_live_*). No need to callsetEnvironment(). - Minimum PHP version raised to 8.1.
Added
BobospayClient-- main SDK entry point.Config-- holds credentials and resolves base URL from client_id prefix.TransactionService-- list, create, find, generateToken.CustomerService-- list, create (upsert), find.AccountService-- get, balances, currencies, paymentMethods.CurrencyService-- list.CreateTransactionDTO/CreateCustomerDTO-- typed request objects.WebhookValidator-- HMAC-SHA256 signature verification for incoming webhooks.- Typed exceptions:
AuthenticationException,NotFoundException,NotAcceptableException,ValidationException,ApiException. - Laravel service provider and facade with auto-discovery.
- Manual
autoload.phpfor use without Composer. BobospayClient::withHttpClient()factory for testing with a custom HTTP transport.- GitHub Actions workflows for CI (matrix PHP 8.1-8.4) and automated releases.
Removed
- Static
Bobospayfacade and all v1 classes (Customer,Transaction,Currency,init.php).
v1.1.0
- Initial release
- Add static methods to manipulate resources
CurrencyCustomerTransaction
Full Changelog: https://github.com/Bobospay/bobospay-php/commits/v1.1.0