PHP code example of basilicom / pimcore-fixtures
1. Go to this page and download the library: Download basilicom/pimcore-fixtures 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/ */
basilicom / pimcore-fixtures example snippets
return [
// ...
Basilicom\PimcoreFixtures\PimcoreFixturesBundle::class => ['dev' => true],
// ...
];
yaml
\Pimcore\Model\Document\Page:
003_page_about_xyz789:
key: about-us
parent: '@001_folder_content_abc123'
title: 'About Us'
template: '@AppBundle/Default/default.html.twig'
properties:
- { name: nav_title, type: text, data: About, inheritable: false }