A mixin for Carbon to provide dates of moveable feasts.
$ composer require ppelgrims/moveable-feasts
Carbon::mixin(new MoveableFeasts\MoveableFeastsMixin());
Carbon::easter()->toDateString(); // "2018-04-01"
Carbon::easter(2020)->toDateString(); // "2020-04-12"
Carbon::ashWednesday();
Carbon::palmSunday();
Carbon::holyMonday();
Carbon::holyTuesDay();
Carbon::holyWednesday();
Carbon::easter();
Carbon::easterSunday(); // alias
Carbon::easterMonday();
Carbon::ascension();
Carbon::pentacost();
Carbon::pentacostSunday(); // alias
Carbon::pentacostMonday();
Carbon::advent();
Carbon::christmas();
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.