PHPackages                             tourze/credit-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. [Payment Processing](/categories/payments)
4. /
5. tourze/credit-bundle

ActiveSymfony-bundle[Payment Processing](/categories/payments)

tourze/credit-bundle
====================

积分系统核心模块，包含账户管理、交易处理和货币系统

1.0.1(6mo ago)03992MITPHPCI passing

Since May 12Pushed 4mo ago1 watchersCompare

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

READMEChangelog (4)Dependencies (65)Versions (5)Used By (2)

tourze/credit-bundle
====================

[](#tourzecredit-bundle)

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

[![Latest Version](https://camo.githubusercontent.com/ea682139d862a02b0bd372f8fbba5ed8f04448a1cb2ab396589bcb1e7a3bb205/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f75727a652f6372656469742d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/credit-bundle)[![Build Status](https://github.com/tourze/php-monorepo/actions/workflows/test.yml/badge.svg)](https://github.com/tourze/php-monorepo/actions)[![Quality Score](https://camo.githubusercontent.com/08cf1eac1268f0c40355d63f9bd8fc73df9e6df20baef3916026ee3639bbfa20/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f746f75727a652f6372656469742d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tourze/credit-bundle)[![Total Downloads](https://camo.githubusercontent.com/c327e2ef90dc8df52bc34bf5867a466b25963a775517c759da0888b23190b4fb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f75727a652f6372656469742d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/credit-bundle)[![License](https://camo.githubusercontent.com/2a1f85662c3182579ce7676dbf2022c934f5a8d7f397ff6e50bc0b05db90bdb0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f75727a652f6372656469742d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/credit-bundle)[![Code Coverage](https://camo.githubusercontent.com/73ee3bab50824f778cedc6b4b3f78bcdab621eef812a979ec388b8ad692a4bff/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f746f75727a652f7068702d6d6f6e6f7265706f2e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/tourze/php-monorepo)

This is a credit management module.

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

[](#table-of-contents)

- [Features](#features)
- [Installation](#installation)
- [Dependencies](#dependencies)
- [Quick Start](#quick-start)
- [Configuration](#configuration)
- [Documentation](#documentation)
- [Console Commands](#console-commands)
- [Advanced Usage](#advanced-usage)
- [Contributing](#contributing)
- [License](#license)
- [Changelog](#changelog)

Features
--------

[](#features)

- Manages user and system credit accounts for multiple currencies.
- Supports credit increase, decrease, and transfer operations.
- Provides services for account and transaction management.
- Includes asynchronous processing for credit operations.
- Supports credit expiration and transaction remarks.
- Allows associating transactions with other business entities.
- Manages transaction limits and adjustment requests.
- Provides command-line tools for credit management tasks.

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

[](#installation)

```
composer require tourze/credit-bundle
```

Dependencies
------------

[](#dependencies)

This bundle requires:

- PHP 8.1 or higher
- Symfony 6.4 or higher
- Doctrine ORM 2.14 or higher
- symfony/security-core for user management
- tourze/lock-service-bundle for distributed locking

Optional dependencies:

- symfony/messenger for async operations
- doctrine/doctrine-migrations-bundle for database migrations

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

[](#quick-start)

```
