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 in PHP for distributed systems. Create Twitter Snowflake, Sonyflake, or custom bit-sequence identifiers. Configure worker/datacenter IDs and a custom epoch to avoid collisions across 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.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope