Download the PHP package scortes/calendar without Composer
On this page you can find all versions of the php package scortes/calendar. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package calendar
Monthly Event Calendar
Install
Calendar
- Add events - every event needs to have date, content of event is completely up to you (it can be string, object, …)
- Optionally you can set min/max dates in
dateStart/dateEnd
. Otherwise they are automatically calculated. - Display calendar, you can use helper function
\Scortes\Calendar\HTML\monthsToTables
for classic calendar.
Components
Calendar consist of two independent components:
- analyzing months
- data structure for events
Analyze months between two DateTimes
Year | Month | Days Count | Weeks Count | First Day of Week | First Week Number |
---|---|---|---|---|---|
2015 | 7 | 31 | 5 | 3 | 27 |
2015 | 8 | 31 | 6 | 6 | 31 |
2015 | 9 | 30 | 5 | 2 | 36 |
2015 | 10 | 31 | 5 | 4 | 40 |
Data structure for events (trie separated by delimiter)
Contributing
Contributions from others would be very much appreciated! Send pull request/issue. Thanks!
License
Copyright (c) 2015 Scortes. MIT Licensed, see LICENSE for details.
All versions of calendar with dependencies
PHP Build Version
Package Version
No informations.
The package scortes/calendar contains the following files
Loading the files please wait ....