Download the PHP package tourze/doctrine-snowflake-bundle without Composer
On this page you can find all versions of the php package tourze/doctrine-snowflake-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package doctrine-snowflake-bundle
Doctrine Snowflake Bundle
一个用于 Symfony 的雪花 ID 生成器 Bundle。
A Snowflake ID generator bundle for Symfony.
功能特性 | Features
- 基于 godruoyi/php-snowflake 实现
- 支持自动为实体属性生成雪花 ID
- 支持 Redis 序列解析器,减少高并发下 ID 重复的概率
- 支持自定义 ID 前缀
- 支持 ID 长度限制
- 基于主机名自动生成 workerId,支持分布式部署
安装 | Installation
使用方法 | Usage
1. 在实体中使用 | Use in Entity
2. 手动生成 ID | Generate ID Manually
配置 | Configuration
Redis 配置 | Redis Configuration
如果你想使用 Redis 序列解析器来减少 ID 重复的概率,需要配置 Redis 服务:
If you want to use Redis sequence resolver to reduce ID duplication probability, you need to configure Redis service:
要求 | Requirements
- PHP 8.1+
- Symfony 6.4+
- Doctrine Bundle 2.13+
许可证 | License
MIT License
All versions of doctrine-snowflake-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
doctrine/orm Version ^2.20 || ^3.0
doctrine/common Version ^3.5
doctrine/persistence Version ^3.1 || ^4
doctrine/doctrine-bundle Version ^2.13
symfony/config Version ^6.4
symfony/dependency-injection Version ^6.4
symfony/http-kernel Version ^6.4
symfony/framework-bundle Version ^6.4
symfony/property-access Version ^6.4
symfony/yaml Version ^6.4 || ^7.1
tourze/bundle-dependency Version 0.0.*
tourze/doctrine-entity-checker-bundle Version 0.0.*
tourze/symfony-snowflake-bundle Version 0.0.*
psr/log Version ^3|^2|^1
doctrine/orm Version ^2.20 || ^3.0
doctrine/common Version ^3.5
doctrine/persistence Version ^3.1 || ^4
doctrine/doctrine-bundle Version ^2.13
symfony/config Version ^6.4
symfony/dependency-injection Version ^6.4
symfony/http-kernel Version ^6.4
symfony/framework-bundle Version ^6.4
symfony/property-access Version ^6.4
symfony/yaml Version ^6.4 || ^7.1
tourze/bundle-dependency Version 0.0.*
tourze/doctrine-entity-checker-bundle Version 0.0.*
tourze/symfony-snowflake-bundle Version 0.0.*
psr/log Version ^3|^2|^1
The package tourze/doctrine-snowflake-bundle contains the following files
Loading the files please wait ....