kaigrassnick/snowflake-bundle
Laravel bundle for generating Snowflake-style unique IDs (distributed, time-ordered 64-bit identifiers). Provides easy integration/configuration for producing sortable IDs across services and high-throughput apps without relying on auto-incrementing database keys.
config/packages), and environment variables (.env). Minimal boilerplate for basic CRUD operations.pdo_snowflake or snowflake-php (if not bundled). Risk of version conflicts if not pre-configured in the deployment pipeline.security component or custom factories. May need extension for role-based access control (RBAC).ParameterBag, Vault, or IAM roles)?QUERY_ABORTED) be translated to Symfony exceptions?snowflake-php directly) or Symfony Messenger + Snowflake SDK be more maintainable?config/packages/snowflake.yaml for declarative setup.VARIANT type).feature:active) to toggle Snowflake integration.security component.snowflake-php calls if the bundle fails.Runtime component for graceful degradation.composer.json constraints.VARIANT, ARRAY).composer require kaigrassnick/snowflake-bundle..env with Snowflake credentials (use Symfony’s env() function for secrets).config/packages/snowflake.yaml:
snowflake:
connections:
default:
account: "your_account.region"
user: "%env(SNOWFLAKE_USER)%"
password: "%env(SNOWFLAKE_PASSWORD)%"
database: "your_db"
schema: "your_schema"
warehouse: "your_warehouse"
TestContainer.pdo_snowflake/snowflake-php for security patches (e.g., CVE fixes).composer.json to avoid unexpected breaking changes.config component to validate .env vs. snowflake.yaml at runtime.timeout in config)..env vs. Snowflake IAM).RESOURCE_NOT_AVAILABLE errors (warehouse scaling).How can I help you explore Laravel packages today?