Download the PHP package tourze/pinduoduo-api-bundle without Composer
On this page you can find all versions of the php package tourze/pinduoduo-api-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package pinduoduo-api-bundle
pinduoduo-api-bundle
中文
A Symfony bundle for integrating with Pinduoduo (PDD) API, providing comprehensive e-commerce functionality including product management, order processing, and logistics integration.
Features
- Product Management: Sync product details, categories, specifications, and measurements
- Order Processing: Full order lifecycle management with real-time synchronization
- Mall Management: Multi-store support with access token management
- Logistics Integration: Shipping templates and logistics coordination
- Console Commands: 16 comprehensive CLI commands for automation
- Cron Job Integration: Automated background tasks with scheduling
- Entity Management: Doctrine ORM entities for all PDD data structures
Installation
Quick Start
1. Basic Configuration
2. Usage Example
Console Commands
This bundle provides 16 console commands for various PDD operations:
Access Token Management
- pdd:refresh-access-token - Refresh access tokens (runs every 5 minutes)
- pdd:refresh-cps-protocol-status - Update CPS protocol status
Product Management
- pdd:sync-goods-detail - Sync specific product details
- pdd:sync-mall-goods-list - Sync mall product list
- pdd:loop-sync-goods-category - Loop sync product categories
- pdd:get-category-rule - Get category rules
- pdd:sync-spec-list - Sync product specifications
- pdd:sync-measurement-list - Sync measurement units
Order Management
- pdd:sync-full-order-list - Sync full order list (runs every 6 hours)
- pdd:sync-basic-order-list - Sync basic order information
- pdd:sync-increment-order-list - Sync incremental order updates
System Data
- pdd:sync-country-list - Sync country/region data (runs every 2 hours)
- pdd:sync-auth-categories - Sync authorized categories
- pdd:sync-logistics-template-list - Sync logistics templates
- pdd:sync-mall-info-list - Sync mall information
Utilities
- pdd:upload-image - Test image upload functionality
Advanced Usage
Custom API Requests
Cron Job Configuration
The bundle includes automatic cron job scheduling:
Entity Structure
The bundle provides comprehensive Doctrine entities:
Mall- Store informationAuthLog- Authentication logsGoods\Goods- Product informationGoods\Sku- Product variantsGoods\Category- Product categoriesOrder\Order- Order informationCountry- Geographic dataLogisticsTemplate- Shipping templates
Dependencies
This bundle requires:
- PHP 8.1 or higher
- Symfony 6.4 or higher
- Doctrine ORM 3.0 or higher
- tourze/http-client-bundle (internal HTTP client)
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests for new functionality
- Submit a pull request
Security
This bundle handles sensitive API credentials and merchant data. Please ensure:
- Store API credentials securely using environment variables
- Use HTTPS for all API communications
- Implement proper access controls for admin operations
- Regularly update dependencies to address security vulnerabilities
- Follow OWASP guidelines for web application security
If you discover a security vulnerability, please report it via email to [email protected] instead of using the public issue tracker.
License
The MIT License (MIT). Please see License File for more information.
Support
For issues and questions:
- GitHub Issues: https://github.com/tourze/pinduoduo-api-bundle/issues
- Documentation: https://docs.tourze.com/pinduoduo-api-bundle
All versions of pinduoduo-api-bundle with dependencies
doctrine/collections Version ^2.3
doctrine/dbal Version ^4.0
doctrine/doctrine-bundle Version ^2.13
doctrine/orm Version ^3.0
doctrine/persistence Version ^3.1 || ^4
hanson/foundation-sdk Version ^5.0
justmd5/pinduoduo-sdk Version ^1.8.3
nesbot/carbon Version ^2.72 || ^3
psr/log Version ^3|^2|^1
symfony/config Version ^6.4
symfony/console Version ^6.4
symfony/dependency-injection Version ^6.4
symfony/doctrine-bridge Version ^6.4
symfony/framework-bundle Version ^6.4
symfony/http-foundation Version ^6.4
symfony/http-kernel Version ^6.4
symfony/messenger Version ^6.4
symfony/routing Version ^6.4
symfony/serializer Version ^6.4
symfony/var-dumper Version ^6.4
symfony/yaml Version ^6.4 || ^7.1
tourze/arrayable Version 0.0.*
tourze/async-command-bundle Version 0.0.*
tourze/doctrine-indexed-bundle Version 0.0.*
tourze/doctrine-snowflake-bundle Version 0.1.*
tourze/doctrine-timestamp-bundle Version 0.0.*
tourze/doctrine-user-bundle Version 0.0.*
tourze/easy-admin-attribute Version 0.1.*
tourze/enum-extra Version 0.1.*
tourze/json-rpc-core Version 0.0.*
tourze/json-rpc-lock-bundle Version 0.1.*
tourze/json-rpc-log-bundle Version 0.1.*
tourze/symfony-cron-job-bundle Version 0.1.*
tourze/symfony-lock-command-bundle Version 0.0.*
tourze/symfony-temp-file-bundle Version 0.0.*
tourze/weui-bundle Version 0.0.*
yiisoft/json Version ^1.0