c4ys/doctrine-snowflakes-bundle
This bundle provides a simple Snowflake ID Generator for Doctrine.
Use as custom strategy inside your entity
/**
* @var string
*
* @ORM\Id()
* @ORM\GeneratedValue(strategy="CUSTOM")
* @ORM\Column(type="bigint", unique=true, nullable=false)
* @ORM\CustomIdGenerator(class="KaiGrassnick\DoctrineSnowflakeBundle\Generator\SnowflakeGenerator")
*/
private string $id;
How can I help you explore Laravel packages today?