Download the PHP package points-app/points-sdk without Composer
On this page you can find all versions of the php package points-app/points-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download points-app/points-sdk
More information about points-app/points-sdk
Files in points-app/points-sdk
Download points-app/points-sdk
More information about points-app/points-sdk
Files in points-app/points-sdk
Vendor points-app
Package points-sdk
Short Description Official PHP SDK for the Points loyalty platform (papp.sa)
License MIT
Homepage https://papp.sa
Package points-sdk
Short Description Official PHP SDK for the Points loyalty platform (papp.sa)
License MIT
Homepage https://papp.sa
Please rate this library. Is it a good library?
Informations about the package points-sdk
Points PHP SDK
Official PHP SDK for the Points loyalty platform at papp.sa.
Installation
Environment Variables
Add the following to your .env file:
Environments
| Environment | Base URL |
|---|---|
| Production | https://business.papp.sa |
| Sandbox / Testing | https://sandbox.papp.sa |
Quick Start
Configuration
private_keyis required and is sent as thex-api-keyheader.base_urlis required — usehttps://business.papp.safor production orhttps://sandbox.papp.safor testing.public_keyis optional and only used for checkout endpoints.timeout,connect_timeout, andretriesare configurable.
Supported PHP Versions
PHP 8.2, 8.3, 8.4, and 8.5.
Webhooks
The backend sends the webhook secret in the X-Webhook-Secret header. Verification is a direct shared-secret comparison, not an HMAC signature.
Full Documentation
Full documentation will be published at docs.papp.sa.
Contributing
- Create a feature branch from
main. - Run
./vendor/bin/phpunit. - Run
./vendor/bin/phpstan analyse. - Run
./vendor/bin/php-cs-fixer fix --dry-run --diff.
License
MIT
All versions of points-sdk with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
ext-json Version *
guzzlehttp/guzzle Version ^7.8
psr/log Version ^3.0
psr/http-client Version ^1.0
psr/http-message Version ^1.1 || ^2.0
ext-json Version *
guzzlehttp/guzzle Version ^7.8
psr/log Version ^3.0
psr/http-client Version ^1.0
psr/http-message Version ^1.1 || ^2.0
The package points-app/points-sdk contains the following files
Loading the files please wait ...