theprosolutionx / aliexpress-php-sdk
PHP SDK for AliExpress API integration
dev-main
2025-06-11 03:38 UTC
Requires
- php: >=7.4
This package is auto-updated.
Last update: 2025-06-11 03:39:24 UTC
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