PHP code example of alnv / prosearch-indexer-contao-adapter-bundle

1. Go to this page and download the library: Download alnv/prosearch-indexer-contao-adapter-bundle 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/ */

    

alnv / prosearch-indexer-contao-adapter-bundle example snippets

 php

// news_full.html5
$GLOBALS['TL_HEAD']['search:type'] = '<meta name="search:type" content="news"/>';