PHP code example of keygenqt / yii2-json-form

1. Go to this page and download the library: Download keygenqt/yii2-json-form 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/ */

    

keygenqt / yii2-json-form example snippets


<?= $form->field($model, 'json')->widget(JsonForm::class, [
    'order' => false,
    'autoincrement' => true,
    'placeholder' => [
        'key' => 'Object key',
        'value' => 'Object value (optional)',
    ],
])