PHP code example of denis-kisel / repeator

1. Go to this page and download the library: Download denis-kisel/repeator 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/ */

    

denis-kisel / repeator example snippets

 php
/*
 * Package Service Providers...
 */
DenisKisel\Repeator\RepeatorServiceProvider::class,
 php
Encore\Admin\Form::extend('repeat', DenisKisel\Repeator\Repeator::class);
 php
$form->repeat('items', function (NestedForm $form) {
    $form->text('item', 'Item');
});