PHP code example of acseo / sylius-typesense
1. Go to this page and download the library: Download acseo/sylius-typesense 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/ */
acseo / sylius-typesense example snippets
return [
ACSEO\TypesenseBundle\ACSEOTypesenseBundle::class => ['all' => true],
ACSEO\SyliusTypesense\ACSEOSyliusTypesense::class => ['all' => true],
];
declare(strict_types=1);
namespace App\Entity\Product;
use Doctrine\ORM\Mapping as ORM;
use ACSEO\SyliusTypesense\Entity\Product\ProductTranslation as BaseProductTranslation;
/**
* @ORM\Entity
* @ORM\Table(name="sylius_product_translation")
*/
#[ORM\Entity]
#[ORM\Table(name: 'sylius_product_translation')]
class ProductTranslation extends BaseProductTranslation
{
}