digitallabs/neonet-sdk
Composer 安装命令:
composer require digitallabs/neonet-sdk
包简介
Minimal SDK for NeoNET payment gateway
README 文档
README
xamples
This SDK includes ready-to-use PHP examples that you can copy and run directly in your own project.
examples/quick_start.php — The shortest, minimal working example that shows how to initialize the client and perform a basic sale request.
examples/full_sale_with_logging.php — A complete version that includes logging, error handling, and optional configuration settings for tracing and timeouts.
Both scripts are self-contained and demonstrate how to use the core SDK classes without requiring any external server setup.
How to Run
Install the SDK
composer require digitallabs/neonet-sdk
Run an example
php examples/quick_start.php
Or explore the detailed version:
php examples/full_sale_with_logging.php
Customize
Replace the placeholder API key and endpoint with your own credentials.
Integrate the code snippets into your own payment flow.
Best Use
Use the short example to get started fast, or the full version to understand advanced usage patterns such as:
Logging API requests and responses.
Handling exceptions gracefully.
Using optional parameters like timeouts, tracing, or metadata.
For further integration details, refer to the inline comments inside each example file.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-16