shipwelldev/cornerstone
Cornerstone is a foundational Laravel package that bundles reusable building blocks, conventions, and scaffolding to help you start and structure applications faster. It aims to cut boilerplate so you can focus on your app's domain logic.
User model and every generated application model. That's a first-class architectural decision, not a default. It enables shardable, mergeable, distributed-friendly primary keys (multi-region, multi-service, event-driven pipelines) where auto-increment integers break down. It also constrains API contracts: 64-bit IDs overflow JavaScript Number, so JSON serialization as strings is required.Adopt when:
Look elsewhere when:
BIGINT AUTO_INCREMENT or external systems with their own ID contracts.JSON.parse precision loss) and you're not prepared to serialize IDs as strings everywhere.Executives: A maintained, opinionated Laravel starter kit that bakes in a scalable identifier strategy and enforced architecture conventions. It reduces per-project setup risk and standardizes new builds, at low cost to trial. Worth a bounded pilot on one new service before any org-wide commitment.
Engineering (and the honest caveats): v0.5.0 is a breaking release. It now requires snowflake identifiers on the default User model and all generated models, backed by architecture coverage and Cornerstone 0.3. Anyone on v0.4.x who customized models will need migration work — plan for that. Adoption also implies owning snowflake ID generation (worker IDs, clock handling) and serializing 64-bit IDs as strings to avoid JS precision bugs. Dependency bumps (Livewire, Pest, Pint, Vite, Mockery) are routine but should be regression-tested. Recommend a pilot on a single greenfield service, not retrofitting existing apps; evaluate the enforced architecture as a strength for consistency and a potential rigidity trade-off before broad rollout.
How can I help you explore Laravel packages today?