PHP code example of fom / module-setup-fixtures

1. Go to this page and download the library: Download fom/module-setup-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/ */

    

fom / module-setup-fixtures example snippets

xml
<virtualType name="Fom\SetupFixturesCms\Model\Page\Installer\Virtual">
    <arguments>
        <argument name="fixtureFiles" xsi:type="array">
            <item name="home" xsi:type="string">Acme_Content::fixtures/cms/page/home.json</item>
        </argument>
    </arguments>
</virtualType>