定制 developertugrul/marketplace-integrator 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

developertugrul/marketplace-integrator

Composer 安装命令:

composer require developertugrul/marketplace-integrator

包简介

Amazon and Trendyol Marketplace Integrator for Products and Orders

README 文档

README

PHP Version Laravel Collections Version

A highly optimized, memory-efficient PHP library for pulling, filtering, matching, and copying products and orders from Trendyol and Amazon.

Designed specifically to handle extremely large product catalogs without memory exhaustion by utilizing PHP Generators (yield).

Features

  • High Performance: Uses PHP Generators instead of massive arrays. Capable of looping through 100,000+ products with flat memory usage.
  • Unified Models: Normalizes completely different API structures (Amazon SP-API and Trendyol Supplier API) into a unified Product and Order model.
  • Standardized Statuses: Order statuses like Picking, Unshipped, or Pending are all normalized to standard constants like Order::STATUS_INVOICED.
  • Fast Product Copy: Includes a professional column mapper that takes a marketplace product and translates it directly into your database schema using dot-notation.

Installation

composer require developertugrul/marketplace-integrator

Documentation

For full, interactive documentation with code examples, open docs/index.html in your browser.

Quick Start: Column Mapping (Fast Copy)

Easily translate a marketplace product into your Laravel/Eloquent model format:

use DeveloperTugrul\MarketplaceIntegrator\MarketplaceManager;

$manager = new MarketplaceManager($mapper);
// Add clients...

$dbColumnMap = [
    'db_title' => 'title',
    'db_price_col' => 'price',
    'stock_amount' => 'quantity',
    'product_sku' => 'sku',
    'brand_name' => 'brand',
    'primary_image' => 'images.0', // Supports dot notation!
];

$insertData = $manager->copyProductToDatabaseFormat('trendyol', '8691234567890', $dbColumnMap);

// Insert into your database
// Product::create($insertData);

Disclaimer

This library focuses entirely on Read, Filter, List, and Map operations. It does not contain endpoints for creating or updating products on the marketplaces.

License

MIT

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2026-06-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固