RealURL Autoconf

https://docs.typo3.org/typo3cms/extensions/realurl/Realurl/AutomaticConfiguration/AutomaticConfigurationOfExtensions/Index.html

ext_localconf.php

$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/realurl/class.tx_realurl_autoconfgen.php']['extensionConfiguration'][$_EXTKEY] = 
'EXT:' . $_EXTKEY . '/Classes/Hooks/RealurlAutoconf.php:Infochy\\InfochyExample\\Hooks\\RealurlAutoconf->pluginConfiguration';

HOOK

class RealurlAutoconf {

    /**
     * @param array $params
     * @param \DmitryDulepov\Realurl\Configuration\AutomaticConfigurator $pObj
     * @return array
     */
    public function pluginConfiguration($params, &$pObj) {
        return array_merge_recursive($params['config'], array(
                'postVarSets' => array(
                    '_DEFAULT' => array(
                        'plugin' => array(
                            array(
                                'GETvar' => 'tx_infochy_example[action]',
                                'valueMap' => array(
                                    'show' => 'show',
                                    'list' => 'list',
                                ),
                                'noMatch' => 'bypass',
                            ),
                            array(
                                'GETvar' => 'tx_infochy_example[controller]',
                                'valueMap' => array(
                                    'Example' => 'controller',
                                ),
                                'noMatch' => 'bypass',
                            ),
                            array(
                                'GETvar' => 'tx_infochy_example[item]',
                                'lookUpTable' => array(
                                    'table' => 'tx_infochy_domain_model_example',
                                    'id_field' => 'uid',
                                    'alias_field' => 'title',
                                    'useUniqueCache' => 1,
                                    'useUniqueCache_conf' => array(
                                        'strtolower' => 1,
                                        'spaceCharacter' => '-',
                                    ),
                                ),
                            ),
                        ),
                        'paginate' => array(
                            array(
                                'GETvar' => 'tx_infochy_example[@widget_0][currentPage]',
                                //'noMatch' => 'bypass',
                            ),
                            array(
                                'GETvar' => 'tx_infochy_example[action]',
                                'valueMap' => array(
                                    'show' => 'show',
                                    'list' => 'list',
                                ),
                                'noMatch' => 'bypass',
                            ),
                            array(
                                'GETvar' => 'tx_infochy_example[controller]',
                                'valueMap' => array(
                                    'Example' => 'controller',
                                ),
                                'noMatch' => 'bypass',
                            ),
                        ),

                    ),
                ),
            )
        );
    }


}