PHP code example of lemonlabs / nova-selectable-key-value

1. Go to this page and download the library: Download lemonlabs/nova-selectable-key-value 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/ */

    

lemonlabs / nova-selectable-key-value example snippets


use LemonLabs\SelectableKeyValue\SelectableKeyValue;

SelectableKeyValue::make('Settings')
    ->keyOptions([
        'option1' => 'Option 1',
        'option2' => 'Option 2',
    ])