PHP code example of reg2005 / oc-range

1. Go to this page and download the library: Download reg2005/oc-range 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/ */

    

reg2005 / oc-range example snippets


    public function registerFormWidgets()
    {
        return [
            'reg2005\Widgets\Range\Widget' => [
                'label' => 'range',
                'code'  => 'range'
            ]
        ];
    }