PHP code example of dnadesign / silverstripe-populate
1. Go to this page and download the library: Download dnadesign/silverstripe-populate 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/ */
dnadesign / silverstripe-populate example snippets
use DNADesign\Populate\Populate;
class Page extends SiteTree
{
public function }
}
yaml
DNADesign\Populate\Populate:
enable_publish_recursive: true
yaml
DNADesign\Populate\Populate:
allow_build_on_live: true