Download the PHP package lostmilky/snowflake without Composer
On this page you can find all versions of the php package lostmilky/snowflake. 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 snowflake
snowflake
特点
- 一个基于信号量和共享内存实现的雪花ID生成器,具有很高的效率,而且保证ID不会冲突。
运行环境
- Linux
- PHP 7.1.3+
laravel 安装
laravel 需要修改 app/config/app.php
providers 里增加如下两行
Lostmilky\Locallock\LocalLockProvider::class,
Lostmilky\Snowflake\SnowflakeProvider::class,
Facades 安装(可选)
需要修改 app/config/app.php 在 aliases 里增加如下一行
'Snowflake' => Lostmilky\Snowflake\Facades\Snowflake::class,
Demo
LICENSE
MIT
All versions of snowflake with dependencies
PHP Build Version
Package Version
Requires
lostmilky/locallock Version
^1.2
The package lostmilky/snowflake contains the following files
Loading the files please wait ....