PHPackages                             internations/solr-query-component - 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. internations/solr-query-component

ActiveLibrary[Search &amp; Filtering](/categories/search)

internations/solr-query-component
=================================

Build Solr queries with ease

0.13.0(3y ago)63216.9k↓42.6%14[1 issues](https://github.com/InterNations/SolrQueryComponent/issues)[2 PRs](https://github.com/InterNations/SolrQueryComponent/pulls)MITPHPPHP &gt;=7.4

Since Mar 14Pushed 3y ago37 watchersCompare

[ Source](https://github.com/InterNations/SolrQueryComponent)[ Packagist](https://packagist.org/packages/internations/solr-query-component)[ RSS](/packages/internations-solr-query-component/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (28)Used By (0)

SolrQueryComponent
==================

[](#solrquerycomponent)

[![Test](https://github.com/InterNations/SolrQueryComponent/actions/workflows/tests.yaml/badge.svg)](https://github.com/InterNations/SolrQueryComponent/actions/workflows/tests.yaml)

#### Build Solr queries with ease

[](#build-solr-queries-with-ease)

`SolrQueryComponent` helps building Solr/Lucene/ElasticSearch queries with a query builder API. It is independent of the concrete client library and can be used with e.g. [PECL Solr](http://pecl.php.net/package/solr) or [Solarium](http://www.solarium-project.org/).

### Examples

[](#examples)

Build `name:"John Doe"^100`

```
