PackageTrack
Sign in Get early access

godruoyi/php-snowflake

An ID Generator for PHP based on Snowflake Algorithm (Twitter announced).

3.2.3 2.8M downloads/mo #2555 most downloaded on Packagist godruoyi/php-snowflake

What this package is like to depend on

Last release 4 months ago

23 Apr 2026

Release timing varies

gaps range from 3 weeks to 9 months

Some releases are documented

notes for 8 of 30 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

30 releases · first in 2019

2 releases in the last 12 months

see the full history below

Release timeline

30 releases · Aug 2019 to Apr 2026
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 30
  1. 3.2.3 23 Apr 2026
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 3.2.2...3.2.3

    Open source →
  2. 3.2.2 31 Jan 2026
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 3.2.1...3.2.2

    thanks @frutality for this

    Open source →
  3. 3.2.1 01 May 2025
    Release notes

    What's Changed

    • fix: make it possible to set datacenter and workerId intentionally to 0 by @CommanderRoot in #81

    New Contributors

    Full Changelog: 3.2.0...3.2.1

    Open source →
  4. 3.2.0 30 Apr 2025
    Release notes

    What's Changed

    • chore: cleanup of tests (testing with swoole on 8.3, removed all warnings) by @jklab in #79
    • chore: make random sequence resolver more random by @godruoyi in #80
      • The default workId and datacenterId will be randomly between 0 and 31 if not set.
      • A more random algorithm is used to generate sequence numbers in the RandomSequenceResolver.

    This is a breaking change as we have updated the default behavior when creating a Snowflake instance.

    Update your package to version 3.2.0 to apply the change.

    Full Changelog: 3.1.1...3.2.0

    Open source →
  5. 3.1.1 22 Nov 2024

    Nothing published for this version

  6. 3.1.0 08 Apr 2024
    Release notes

    What's Changed

    Full Changelog: 3.0.0...3.1.0

    Open source →
  7. 3.0.0 28 Aug 2023
    Release notes

    What's Changed

    Full Changelog: 2.2.4...3.0.0

    Open source →
  8. 2.2.4 05 Jul 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.2.3...2.2.4

    Open source →
  9. 2.2.3 11 Apr 2023
    Release notes

    What's Changed

    • Chore: deprecated getCurrentMicrotime by @godruoyi in #45
    • Use custom Laravel pint config

    Full Changelog: 2.2.2...2.2.3

    Open source →
  10. 2.2.2 08 Feb 2023

    Nothing published for this version

  11. 2.2.1 19 Jan 2023

    Nothing published for this version

  12. 2.2.0 19 Jan 2023

    Nothing published for this version

  13. 2.1.1 31 Oct 2022

    Nothing published for this version

  14. 2.1.0 26 Sep 2022

    Nothing published for this version

  15. 2.0.1 13 Dec 2021

    Nothing published for this version

  16. 2.0.0 12 Dec 2021

    Nothing published for this version

  17. 1.1.1 25 May 2021

    Nothing published for this version

  18. 1.1.0 09 Apr 2021

    Nothing published for this version

  19. 1.0.11 20 Oct 2020

    Nothing published for this version

  20. 1.0.10 20 Sep 2020

    Nothing published for this version

  21. 1.0.9 25 May 2020

    Nothing published for this version

  22. 1.0.8 03 Dec 2019

    Nothing published for this version

  23. 1.0.7 29 Nov 2019

    Nothing published for this version

  24. 1.0.6 22 Nov 2019

    Nothing published for this version

  25. 1.0.5 16 Aug 2019

    Nothing published for this version

  26. 1.0.4 15 Aug 2019

    Nothing published for this version

  27. 1.0.3 13 Aug 2019

    Nothing published for this version

  28. 1.0.2 13 Aug 2019

    Nothing published for this version

  29. 1.0.1 13 Aug 2019

    Nothing published for this version

  30. 1.0.0 12 Aug 2019

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive