theprosolutionx/aliexpress-php-sdk
Composer 安装命令:
composer require theprosolutionx/aliexpress-php-sdk
包简介
PHP SDK for AliExpress API integration
README 文档
README
PHP SDK for integrating with AliExpress APIs
Installation
composer require theprosolutionx/aliexpress-php-sdk
Usage
require_once __DIR__.'/vendor/autoload.php'; use AliExpress\IopClient; use AliExpress\IopRequest; $client = new IopClient('YOUR_APP_KEY', 'YOUR_APP_SECRET'); $request = new IopRequest('/api_endpoint', 'POST'); $request->addApiParam('param1', 'value1'); $response = $client->execute($request); print_r($response);
Configuration
Set your API credentials in environment variables:
export ALIEXPRESS_APP_KEY='your_app_key' export ALIEXPRESS_APP_SECRET='your_app_secret'
Examples
See the demo/ directory for complete usage examples:
- Simple API call demo
- File upload demo
- Internal API demo
Contributing
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request
License
MIT
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-11