PHPackages                             tourze/product-core-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. tourze/product-core-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

tourze/product-core-bundle
==========================

产品管理核心模块，提供商品、SKU、库存、运费模板等基础功能

1.0.3(5mo ago)060513MITPHPCI failing

Since Nov 4Pushed 4mo agoCompare

[ Source](https://github.com/tourze/product-core-bundle)[ Packagist](https://packagist.org/packages/tourze/product-core-bundle)[ RSS](/packages/tourze-product-core-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (67)Versions (5)Used By (13)

Product Core Bundle
===================

[](#product-core-bundle)

[English](README.md) | [中文](README.zh-CN.md)

\[[![Latest Version](https://camo.githubusercontent.com/614104821f6234d0833acc806131a15237e3d059980ddfe700bacc121a0b21f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f75727a652f70726f647563742d636f72652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/614104821f6234d0833acc806131a15237e3d059980ddfe700bacc121a0b21f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f75727a652f70726f647563742d636f72652d62756e646c652e7376673f7374796c653d666c61742d737175617265)\] () \[[![PHP Version](https://camo.githubusercontent.com/bf15d0438c21a4f3da3735439d8f9cd06f84f36e720bedfbc31b2c2d6a53721d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746f75727a652f70726f647563742d636f72652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/bf15d0438c21a4f3da3735439d8f9cd06f84f36e720bedfbc31b2c2d6a53721d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746f75727a652f70726f647563742d636f72652d62756e646c652e7376673f7374796c653d666c61742d737175617265)\] () \[[![License](https://camo.githubusercontent.com/803339f33ce7446c70533bf09753c8e2eb9e601d2e754f52600482519c778973/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f75727a652f70726f647563742d636f72652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/803339f33ce7446c70533bf09753c8e2eb9e601d2e754f52600482519c778973/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f75727a652f70726f647563742d636f72652d62756e646c652e7376673f7374796c653d666c61742d737175617265)\] () [![Build Status](https://camo.githubusercontent.com/71c899315a8f155d504bb23baebabdd724ea15a42a5f7e72e49e6b4e9ebc30d3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f75727a652f7068702d6d6f6e6f7265706f2f746573742e796d6c3f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://github.com/tourze/php-monorepo/actions)\[[![Quality Score](https://camo.githubusercontent.com/d7ac7587abaded0efcc3935ded4e99b5c3a3f80170aab2500ef09dfd745bf653/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f746f75727a652f70726f647563742d636f72652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/d7ac7587abaded0efcc3935ded4e99b5c3a3f80170aab2500ef09dfd745bf653/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f746f75727a652f70726f647563742d636f72652d62756e646c652e7376673f7374796c653d666c61742d737175617265)\] () \[[![Code Coverage](https://camo.githubusercontent.com/6ce0146325478eb7cebae4cc6139b2af2c161735dd0e3c6ff6802f2c5a708179/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f746f75727a652f7068702d6d6f6e6f7265706f3f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/6ce0146325478eb7cebae4cc6139b2af2c161735dd0e3c6ff6802f2c5a708179/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f746f75727a652f7068702d6d6f6e6f7265706f3f7374796c653d666c61742d737175617265)\] ()

A comprehensive Symfony bundle for managing product core data including SPU,
SKU, categories, brands, pricing, and inventory management.

Table of Contents
-----------------

[](#table-of-contents)

- [Features](#features)
- [Installation](#installation)
- [Configuration](#configuration)
- [Quick Start](#quick-start)
- [Dependencies](#dependencies)
- [Console Commands](#console-commands)
- [API Endpoints](#api-endpoints)
- [Entity Relationships](#entity-relationships)
- [Events](#events)
- [Advanced Usage](#advanced-usage)
- [Testing](#testing)
- [Contributing](#contributing)
- [License](#license)
- [References](#references)

Features
--------

[](#features)

- **Complete Product Management**: SPU/SKU management with attributes, pricing, and inventory
- **Category Management**: Hierarchical product categories with limit rules
- **Brand Management**: Product brand organization and management
- **Price Management**: Flexible pricing system with multiple price types and conditions
- **Stock Management**: Real-time inventory tracking with detailed logging
- **Limit Rules**: Configurable purchase limits for categories, SPUs, and SKUs
- **Freight Templates**: Shipping cost calculation templates
- **Data Crawling**: Built-in commands for crawling product data from external sources
- **Auto Scheduling**: Automated SPU release and take-down based on time rules
- **JSON-RPC API**: RESTful API endpoints for product data access
- **Admin Interface**: EasyAdmin-based administration interface

Installation
------------

[](#installation)

```
composer require tourze/product-core-bundle
```

Configuration
-------------

[](#configuration)

Add the bundle to your `config/bundles.php`:

```
return [
    // ...
    Tourze\ProductCoreBundle\ProductCoreBundle::class => ['all' => true],
];
```

Quick Start
-----------

[](#quick-start)

### Basic Usage

[](#basic-usage)

```
