library calerator
Calendar date iterators
jnjxp/calerator
Calendar date iterators
- Friday, November 25, 2016
- by jnj
- Repository
- 1 Watchers
- 0 Stars
- 4 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
jnjxp.calerator
Iterate over dates like a calendar., (*1)
-
Year is a collection of Months.
-
Month is a collection of Weeks.
-
Week is a collection of Days.
Install
composer require jnjxp/calerator
Usage
foreach (new Year(2016) as $month) {
foreach($month as $week) {
foreach ($week as $day){
//...
}
}
}
dev-develop
dev-develop
Calendar date iterators
Sources
Download
MIT
by
jake johns