Download the PHP package husail/paystore-sdk without Composer
On this page you can find all versions of the php package husail/paystore-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download husail/paystore-sdk
More information about husail/paystore-sdk
Files in husail/paystore-sdk
Package paystore-sdk
Short Description PayStore PHP SDK
License MIT
Homepage https://github.com/husail/paystore-sdk
Informations about the package paystore-sdk
PayStore PHP SDK
The PayStore PHP SDK allows integration with the PayStore API in any PHP project. It also provides Facades and a Service Provider for enhanced Laravel integration.
📦 Installation
🔧 Usage Example
For Non-Laravel PHP Projects:
Basic Usage:
With Logging:
For Laravel:
-
Publish the configuration:
-
Add environment variables in your
.envfile: -
Use the Facade to interact with the API:
-
Configure Logging
When
PAYSTORE_LOG_ENABLEDis set totrue, the SDK logs request and response details via Laravel's default logging channel. By default, logs output compact JSON. If you want the JSON output to be more readable (pretty-printed), setPAYSTORE_LOG_FORMATTER_EXPANDEDtotrue.
🤝 Contributing
We welcome contributions! Feel free to submit issues or pull requests to help improve the SDK.
📜 License
Licensed under the MIT License.
All versions of paystore-sdk with dependencies
ext-json Version *
cuyz/valinor Version ^1.14
php-http/client-common Version ^2.7
php-http/discovery Version ^1.19
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^1.0|^2.0
psr/log Version ^1.0|^2.0|^3.0