PHP code example of art-and-flywork / kirby.plugin.fieldset

1. Go to this page and download the library: Download art-and-flywork/kirby.plugin.fieldset 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/ */

    

art-and-flywork / kirby.plugin.fieldset example snippets


 foreach ($page->myfields()->yaml() as $key => $value): 

 snippet('mySnippet', $page->myfields()->yaml())