rohanadhikari/nepali-date
rohanadhikari/nepali-date is a Laravel/PHP package for working with Nepali (Bikram Sambat) dates. It helps convert between AD and BS, format and parse Nepali dates, and integrate date handling into Laravel apps.
Consider it when:
Validate before you commit (these are the real diligence questions):
CarbonImmutable and framework validation rules.Look elsewhere when:
To executives: Nepal is a real market with a real localization gate — users and regulators expect Bikram Sambat dates, and BS months don't map cleanly onto the Gregorian calendar. This package is a cheap way to size that work: MIT-licensed, actively released, and it covers conversion, formatting, and Laravel integration. The risk isn't cost, it's maintenance — it's a small, single-maintainer project. Recommendation: fund a short spike, not a commitment, and keep an exit path.
To engineering: Treat it as an adapter, not a dependency. Isolate it behind an internal DateConverter interface so the library is swappable, pin the version, vendor the calendar data table so upstream drift can't silently change historical dates, and build golden-file tests against an authoritative Nepal calendar source before it touches anything financial. Recent releases are encouraging; the missing signal is field usage, so our own test suite has to do that job.
How can I help you explore Laravel packages today?