PHP code example of 8fold / php-events
1. Go to this page and download the library: Download 8fold/php-events 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/ */
8fold / php-events example snippets
Events::fold("/path/to/content-root");
Grid::forMonth("/events/{year}/{month}")->unfold();
Grid::forYear("/events/{year}")->unfold();
bash
composer
bash
.
└── root/
└── 2020/
└── 01/
├── 01.event
├── 02.event
├── 02_2.event
├── 03_1.event
└── 03_2.event