⏰️ Makes CRON expressions human-readable
⏰️ Makes CRON expressions human-readable
composer require lorisleiva/cron-translator…You may also provide a locale as a second argument and whether to format the time using the 24-hour format as a third argument.
CronTranslator::translate('30 18 * * *', 'fr'); // => Chaque jour à 6:30pm
CronTranslator::translate('30 18 * * *', 'fr', true); // => Chaque jour à 18:30The following locales are currently supported. Feel free to PR more locales if you need them.
ar — Arabiccs — Czechda — Danishde — Germanen — Englishes — Spanishfr — Frenchhi — Hindilv — Latviannl — Dutchpl — Polishpt — Portuguesero — Romanianru — Russiansk — Slovaktr — Turkishua — Ukrainianvi — Vietnamesezh — Simplified Chinesezh-TW — Traditional ChineseNo open issues yet, or sync has not completed.