Installation
composer require bradietilley/php-snowflake
No framework dependency is required for the core generator. Laravel integration is optional and auto-discovered when running inside a Laravel application — see Laravel integration.
Requirements
| Package | PHP | Laravel (optional) |
|---|---|---|
| v2.x | 8.4+ | 13+ |
Next steps
- Usage — generating and configuring IDs
- Concurrency — sequence resolvers and locking
- Laravel integration — Eloquent trait, config, and testing helpers