Download the PHP package w3lifer/php-calendar without Composer
On this page you can find all versions of the php package w3lifer/php-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 php-calendar
php-calendar
- Installation
- Usage
- Default configuration
- Method
get() - Example of HTML calendar
- Example of 12-month calendar
- Example of periodic calendar
- Tests
Installation
Usage
Default configuration
Can be changed as you wish
Method get()
This method is the main public method in this class:
It returns a PhpCalendar object with the following public properties:
$html string— calendar in HTML format$prevPeriodParams array— parameters for the previous period$nextPeriodParams array— parameters for the next period
The following period parameters are available (array keys):
numberOfMonthstartMonthstartYear
The
PhpCalendarclass also defines a__toString()method that simply returns its own$htmlproperty (HTML calendar)
Example of HTML calendar
Example of 12-month calendar
Example of periodic calendar
Tests
All versions of php-calendar with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
The package w3lifer/php-calendar contains the following files
Loading the files please wait ...