定制 goldenline/algolia-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

goldenline/algolia-bundle

最新稳定版本:1.1.1

Composer 安装命令:

composer require goldenline/algolia-bundle

包简介

Integrates Algolia into Symfony

关键字:

README 文档

README

Dependency Status

Integrates Algolia into Symfony

Installation

The best way to install this bundle is by using Composer. Simply run:

$ php composer.phar require goldenline/algolia-bundle 1.0.0

Then, enable the bundle:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Goldenline\AlgoliaBundle\GoldenlineAlgoliaBundle(),
    );
}

Finally add your configuration:

# app/config/config.yml

goldenline_algolia:
    client:
        application_id: <your_application_id>
        application_key: <your_application_key>
    indices:
        foo:
            name: prefix_foo
        bar:
            name: bar

Currently we don`t support XML configuration.

Usage

Get your index from container i.e.:

  $this->getContainer()->get('goldenline_algolia.index.foo');

and use it according to https://github.com/algolia/algoliasearch-client-php#search documentation.

You can also use client service located in container: goldenline_algolia.client according to https://github.com/algolia/algoliasearch-client-php

License

This bundle is released under the MIT license. See the complete license in the bundle:

Resources/meta/LICENSE

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 16
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-11-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固