Skip to content

Commit 550e3af

Browse files
committed
🐝 Update readme
1 parent ec2eb7f commit 550e3af

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
<div>
22
<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" />
44
</p>
55
<p align="center">An ID Generator for PHP based on Snowflake Algorithm (Twitter announced).</p>
66
<p align="center">
77
<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" />
99
</a>
1010
<a href="https://codecov.io/gh/godruoyi/php-snowflake">
1111
<img src="https://codecov.io/gh/godruoyi/php-snowflake/branch/master/graph/badge.svg?token=7AAOYCJK97"/>
1212
</a>
1313
<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" />
1515
</a>
1616
<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" />
1818
</a>
1919
<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" />
2121
</a>
2222
</p>
2323
</div>
@@ -48,7 +48,10 @@ Based on this, we created this package and integrated multiple sequence-number p
4848
* LaravelSequenceResolver (based on redis psetex and incrby)
4949
* SwooleSequenceResolver (based on swoole_lock)
5050

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.
5255
5356
## Requirement
5457

0 commit comments

Comments
 (0)