PHP code example of dolphin.wang / make-calendar-image
1. Go to this page and download the library: Download dolphin.wang/make-calendar-image 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/ */
dolphin.wang / make-calendar-image example snippets
use Dolphin\Wang\Every\Image;
$conf = [
'name' => '001.jpg', // 默认 2018-10-10.jpg
'today' => '2018-10-10' // 默认 当天
];
// conf 可以不传
$image = new Image($conf);
$image->save();
php demo/demo.php