|
1 | 1 | <div> |
2 | 2 | <p align="center"> |
3 | | - <image src="https://www.pngkey.com/png/full/105-1052235_snowflake-png-transparent-background-snowflake-with-clear-background.png" width="250" height="250"> |
| 3 | + <image src="https://www.pngkey.com/png/full/105-1052235_snowflake-png-transparent-background-snowflake-with-clear-background.png" width="250" height="250" /> |
4 | 4 | </p> |
5 | 5 | <p align="center">An ID Generator for PHP based on Snowflake Algorithm (Twitter announced).</p> |
6 | 6 | <p align="center"> |
7 | 7 | <a href="https://github.com/godruoyi/php-snowflake/actions/workflows/php.yml"> |
8 | | - <image src="https://github.com/godruoyi/php-snowflake/actions/workflows/php.yml/badge.svg" alt="build passed"> |
| 8 | + <image src="https://github.com/godruoyi/php-snowflake/actions/workflows/php.yml/badge.svg" alt="build passed" /> |
9 | 9 | </a> |
10 | 10 | <a href="https://codecov.io/gh/godruoyi/php-snowflake"> |
11 | 11 | <img src="https://codecov.io/gh/godruoyi/php-snowflake/branch/master/graph/badge.svg?token=7AAOYCJK97"/> |
12 | 12 | </a> |
13 | 13 | <a href="https://github.com/godruoyi/php-snowflake"> |
14 | | - <image src="https://poser.pugx.org/godruoyi/php-snowflake/license" alt="License"> |
| 14 | + <image src="https://poser.pugx.org/godruoyi/php-snowflake/license" alt="License" /> |
15 | 15 | </a> |
16 | 16 | <a href="https://packagist.org/packages/godruoyi/php-snowflake"> |
17 | | - <image src="https://poser.pugx.org/godruoyi/php-snowflake/v/stable" alt="Packagist Version"> |
| 17 | + <image src="https://poser.pugx.org/godruoyi/php-snowflake/v/stable" alt="Packagist Version" /> |
18 | 18 | </a> |
19 | 19 | <a href="https://github.com/godruoyi/php-snowflake"> |
20 | | - <image src="https://poser.pugx.org/godruoyi/php-snowflake/downloads" alt="Total Downloads"> |
| 20 | + <image src="https://poser.pugx.org/godruoyi/php-snowflake/downloads" alt="Total Downloads" /> |
21 | 21 | </a> |
22 | 22 | </p> |
23 | 23 | </div> |
@@ -48,7 +48,10 @@ Based on this, we created this package and integrated multiple sequence-number p |
48 | 48 | * LaravelSequenceResolver (based on redis psetex and incrby) |
49 | 49 | * SwooleSequenceResolver (based on swoole_lock) |
50 | 50 |
|
51 | | -> Each provider only needs to ensure that the serial number generated in the same millisecond is different. You can get a unique ID. |
| 51 | +Each provider only needs to ensure that the serial number generated in the same millisecond is different. You can get a unique ID. |
| 52 | + |
| 53 | +> **Warning** |
| 54 | +> The RandomSequenceResolver does not guarantee that the generated IDs are unique, If you want to generate a unique ID, please use another resolver instead. |
52 | 55 |
|
53 | 56 | ## Requirement |
54 | 57 |
|
|
0 commit comments