PHPackages                             bostjanob/solr-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Search &amp; Filtering](/categories/search)
4. /
5. bostjanob/solr-client

Abandoned → [solarium/solarium](/?search=solarium%2Fsolarium)ArchivedLibrary[Search &amp; Filtering](/categories/search)

bostjanob/solr-client
=====================

Apache SOLR client for ZF2

105196PHP

Since Jan 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/BostjanOb/SolrClient)[ Packagist](https://packagist.org/packages/bostjanob/solr-client)[ RSS](/packages/bostjanob-solr-client/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

THIS PROJECT IS DEPRECATED. Take a look at \[solarium project\] ()
===================================================================================================

[](#this-project-is-deprecated-take-a-look-at-solarium-project-httpwwwsolarium-projectorg)

Apache Solr Client for Zend Framework 2
=======================================

[](#apache-solr-client-for-zend-framework-2)

Features :

- Adding, updating and deleting documents
- Query builder
- Facets
- Spellcheck
- Zend Developer Toolbar plugin

Requirements
------------

[](#requirements)

1. [Zend Framework 2](http://www.github.com/zendframework/zf2)
2. \[Apache Solr\] ()
3. CURL module enabled in php

In your solrconfig.xml you must have php serialized query response writer enabled: ``

Installation
------------

[](#installation)

1. Add `"bostjanob/solr-client": "dev-master"` to your `composer.json`
2. Run `php composer.phar install`
3. Enable the module in your `config/application.config.php` by adding `SolrClient` to `modules`

#### Setting up your connection

[](#setting-up-your-connection)

Setup your connection by adding the module configuration to any valid ZF2 config file. This can be any file in autoload/ or a module configuration (such as the Application/config/module.config.php file).

```
