Skip to content

jnjxp/jnjxp.calerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jnjxp.calerator

Iterate over dates like a calendar.

  • 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){
            //...
        }
    }
}

About

Iterate over dates like a calendar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages