lightsuner/carbon-bundle
LightSuner Carbon Bundle integrates Carbon, the popular PHP DateTime extension, into Symfony applications. It provides Carbon services, Twig filters, Doctrine types, and form helpers, making date and time handling cleaner, more expressive, and consistent across your Symfony projects.
nesbot/carbon (the Carbon date/time library) and its carbon.extension Twig helper. If your product is Laravel, Carbon is already a first-party dependency; this package adds nothing. This assessment should be routed to the team owning any legacy Symfony 2.x surface, not the Laravel roadmap.\DateTime usage across services, adopting Carbon (not necessarily this bundle) is a legitimate decision to reduce timezone/DST/immutability bugs. Decide the library on its merits; decide the bundle on convenience only.Consider it only if all of the following hold:
carbon helper without writing the service definition yourself.Look elsewhere when any of these is true:
symfony/clock for testable time, or rely on the serializer's DateTimeNormalizer.CarbonImmutable directly; skip the bundle layer entirely.date filter covers most uses without a third-party bundle.Bottom line: do not adopt for new work; treat as legacy-only and plan to remove it.
For executives: this is a convenience wrapper around a widely used open-source date library, scoped to a framework generation (Symfony 2) that reached end of life in 2019. It has 15 stars, no downstream dependents, and no release in over six years. The strategic value is near zero and the maintenance liability is real. Adopting it would add a dependency we cannot expect anyone to patch.
For engineering: the functional need — consistent, timezone-safe, immutable date handling — is legitimate and worth solving. The right solve is nesbot/carbon (or CarbonImmutable) declared directly, plus a short service definition and, if needed, a Twig extension. That gives us the same capability in code we own, with no unmaintained third party in the dependency graph. If a legacy service already depends on this bundle, quarantine it: freeze the version, document the inline replacement, and schedule removal alongside the broader Symfony 2 exit.
How can I help you explore Laravel packages today?