Awesome
caferrari\DateRecursive
Installation
Package is available on Packagist, you can install it using Composer.
composer require ferrari/date-recursive
Usage
// the next five dates with a day 15 at Tuesday
$dates = (new DateRecursive)->match(
DateRecursive::dayOfMonth(15),
DateRecursive::dayOfWeek(2)
)
->limit(5)
->generate(new DateTime('2014-01-01'));