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):
numberOfMonth
startMonth
startYear
The
PhpCalendar
class also defines a__toString()
method that simply returns its own$html
property (HTML calendar)
Example of HTML calendar
Example of 12-month calendar
Example of periodic calendar
Tests
-
To install PHPUnit:
- To run 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 ....