PHP code example of balbuf / wasp
1. Go to this page and download the library: Download balbuf/wasp 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/ */
balbuf / wasp example snippets
yml
images:
default:
file: '{{ ( this ?: "placeholder" ) ~ ".jpeg" }}'
pic1:
file: kittens
alt: Kittens playing!
pic2:
file: puppies
alt: Puppies playing!
pic3:
alt: Image coming soon!