morilog/jalali
morilog/jalali provides a fast, human-friendly Jalali (Persian) calendar API for PHP/Laravel. Convert and format dates, manipulate and compare date/times via the immutable Jalalian class, with helpers like jdate(), Carbon support, and “ago” relative output.
carbon/carbon with extensions.spatie/laravel-translatable or vinkla/hashids.For Executives: "This package lets us natively support the Jalali calendar in our [Product Name] with minimal effort, unlocking growth in Iran and Persian-speaking markets—where 80M+ users rely on this date system. The latest release (v3.5.0) includes improvements for type safety, reducing bugs and aligning with modern PHP standards. It’s a turnkey solution (MIT-licensed, actively maintained) that reduces dev time by 60% compared to custom builds, while ensuring compliance and UX for local users. For example, [Competitor X] lost 15% of Iranian users due to Gregorian-only dates; we can avoid that."
For Engineering/Tech Leads:
*"The morilog/jalali package (v3.5.0) provides a drop-in Laravel-compatible solution for Jalali date handling, including:
Jalali facade).DateTimeZone) reduce runtime errors and align with PHP 8+.config/app.php to enable Jalali support globally. Example:*use Morilog\Jalali\Jalalian;
Jalalian::setLocale('fa'); // Persian locale
echo Jalalian::fromFormat('Y/m/d', '1403/10/25')->toDateTime(); // Gregorian equivalent
Proposal: Allocate 2 dev-days for integration testing and edge-case validation (e.g., holidays, fiscal years). The type safety updates in v3.5.0 should simplify debugging and improve code reliability."*
How can I help you explore Laravel packages today?