PHP code example of labor-digital / typo3-search-and-index
1. Go to this page and download the library: Download labor-digital/typo3-search-and-index 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/ */
labor-digital / typo3-search-and-index example snippets
namespace Vendor\Extension\Configuration\ExtConfig\Site\Main;
use LaborDigital\T3fa\ExtConfigHandler\Api\BundleCollector;
use LaborDigital\T3fa\ExtConfigHandler\Api\ConfigureApiInterface;
use LaborDigital\T3sai\Api\Bundle\SearchBundle;
class Api implements ConfigureApiInterface
{
public static function registerBundles(BundleCollector $collector): void
{
$collector->register(SearchBundle::class);
}
}
namespace Vendor\Extension\Configuration\ExtConfig\Site\Main;
use LaborDigital\T3fa\ExtConfigHandler\Api\BundleCollector;
use LaborDigital\T3fa\ExtConfigHandler\Api\ConfigureApiInterface;
use LaborDigital\T3sai\Api\Bundle\SitemapBundle;
class Api implements ConfigureApiInterface
{
public static function registerBundles(BundleCollector $collector): void
{
$collector->register(SitemapBundle::class);
}
}