bolt/common
Shared utilities and foundation classes for Bolt projects, providing common helpers and supporting components used across the Bolt ecosystem. Lightweight and reusable, it helps reduce duplication and keep PHP code consistent.
bolt/common is plumbing — the helper/utility classes shared across Bolt's own packages. The decision it informs is whether to reuse an existing internal-utility baseline or spend sprint capacity writing our own string/array/filesystem/JSON helpers.Consider it when:
Look elsewhere when:
illuminate/support (Str, Arr, Collection, Number) is better documented, actively maintained, and already in the framework — adding a second utility vocabulary is pure overhead.If adopted: pin the exact version, vendor or mirror the source, and wrap it behind a thin internal adapter so swapping to illuminate/support later is a one-file change rather than a refactor.
For executives: This is a small, MIT-licensed utility library from the Bolt CMS ecosystem — low cost, no licensing risk, but also low strategic value. It saves a modest amount of engineering effort only if we are already working inside Bolt. The real finding is the risk profile: roughly 18 stars, no release since November 2021, and an unverifiable source repository. Recommendation: treat it as an inherited dependency to be contained and replaced over time, not a building block we standardize on.
For engineering: bolt/common is the shared helper layer underpinning Bolt's packages. Adopt it only for behavioral parity with Bolt internals; do not introduce it into new Laravel work, where illuminate/support already covers the same ground with active maintenance. If we take it, pin the version, mirror the source internally, isolate all call sites behind our own adapter, and log a follow-up to migrate to framework-native utilities. The maintenance signal — no release in over four years, minimal community — means we should assume we may end up owning this code ourselves.
How can I help you explore Laravel packages today?