guikingone/meili-search-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

guikingone/meili-search-bundle

Composer 安装命令:

composer require guikingone/meili-search-bundle

包简介

A Symfony bundle that enable MeiliSearch

README 文档

README

MeiliSearchBundle CI SymfonyInsight

MeiliSearchBundle is an opiniated Symfony bundle which configure and enable MeiliSearch.

The core logic act as a wrapper around the official MeiliSearch PHP SDK.

Main features

  • DTO support (thanks to Symfony/Serializer) for documents
  • Mapping via YAML/XML/PHP/Annotation
  • Document definition via Annotations or custom providers
  • Symfony/Messenger integration
  • Symfony/HttpClient support
  • Symfony/Cache integration (fallback, search, CRUD)
  • Symfony/ExpressionLanguage support for building queries
  • Twig integration
  • Custom form type
  • Support for PHP 7.2 to 7.4 (8.0 not supported for now)
  • Support for Ramsey/uuid

Installation

Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.

composer require guikingone/meili-search-bundle

Once installed, time to update the config/bundles.php:

// config/bundles.php

return [
    // ...
    MeiliSearchBundle\MeiliSearchBundle::class => ['all' => true],
];

Once done, just add a config/packages/meili_search.yaml:

# config/packages/meili_search.yaml
meili_search:
    host: '%env(MEILI_HOST)%' # Default to http://127.0.0.1
    api_key: '%env(MEILI_API_KEY)%' # Optional but recommended in development mode

Usage

For a full breakdown of how to use this bundle, please refer to the documentation.

Contributing

For a full breakdown of how to contribute to this bundle, please refer to CONTRIBUTING.md.

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 11
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-11-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固