ronasit/laravel-clerk
A Laravel package that integrates Clerk authentication: provides a Clerk guard and middleware for route protection, verifies sessions, syncs Clerk users into your app, and handles Clerk webhooks so you can manage authentication without building it yourself.
Architecture fit
RonasIT/laravel-clerk is a thin Laravel integration for Clerk as an external identity provider — a guard/user-provider shape that fits Laravel's native auth abstractions rather than fighting them. Low architectural surface area, which is the right shape for an auth adapter.Integration feasibility
.gitattributes export-ignore, CI workflow, README fixes) plus a test-helper refactor (TokenMockTrait now writes public_key.pem to the testing storage disk instead of tests/). Net: more trustworthy, but also more churn than feature value.Technical risk
feat!: store Clerk signer key as base64-encoded env var lands in 1.2, not 2.0. This is a semver-contract smell. Implication: pin exact versions, never ^1.2, and audit every release note manually.tests/public_key.pem or dependent on the old path breaks. Contained, but it will show up as noise or flaky tests if not sequenced.Key questions
feat! marker implies intent but the release notes carry no migration steps.Stack fit
CLERK_* env vars including the new base64 signer key.Migration path (1.1 → 1.2)
TokenMockTrait; remove assumptions about tests/public_key.pem.config:clear / config:cache on deploy — stale cached config will mask the change.Compatibility
1.2.x exactly. Verify the resolved symfony/http-foundation bump (7.3.2 → 7.3.7) is a no-op for your framework version.Sequencing
Maintenance
Support
Scaling
Failure modes
TokenMockTrait storage-path change, surfacing as flaky or order-dependent tests.Ramp-up
How can I help you explore Laravel packages today?