Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Bits Laravel Package

glhd/bits

Generate unique 64‑bit IDs for distributed systems in PHP. Create Twitter Snowflake, Sonyflake, or custom bit-sequence identifiers with configurable worker/datacenter IDs and epoch for compact, time-ordered, collision-resistant IDs across multiple servers.

View on GitHub
Deep Wiki
Context7
0.6.2
0.6.1
0.6.0
0.5.0

Added

  • Added support for $snowflake->toDateTime() and $snowflake->toCarbon() which allows you to get the timestamp associated with the ID.
  • Added firstForTimestamp($timestamp) method that lets you create an ID that corresponds to the lowest possible ID at that timestamp (useful for querying)
  • Added Livewire synths

Changed

  • Bits no longer follows Carbon::setTestNow and instead provides its own setTestNow method (see reasoning).
  • Added .gitattributes to minimize bundle size
0.4.1
0.4.0
0.3.0

Added

  • Added a snowflake_id() helper method to avoid Snowflake::make()->id() calls everywhere

Changed

  • Improved exception message when trying to set epoch to a future date
0.2.0
0.1.1
0.1.0
0.0.4
0.0.3
0.0.2
0.0.1

Keep a Changelog Syntax

  • Added for new features.
  • Changed for changes in existing functionality.
  • Deprecated for soon-to-be removed features.
  • Removed for now removed features.
  • Fixed for any bug fixes.
  • Security in case of vulnerabilities.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport