PHP code example of ideenkonzept / easter

1. Go to this page and download the library: Download ideenkonzept/easter library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

ideenkonzept / easter example snippets


use Ideenkonzept\Easter\Date as EasterDate;

EasterDate::year(2020); //get easter date in year 2020

EasterDate::last() //get last easter date

EasterDate::next() //get next easter date