2017 © Pedro Peláez
 

library solarium

PHP Solr client

image

solarium/solarium

PHP Solr client

  • Friday, July 20, 2018
  • by basdenooijer
  • Repository
  • 59 Watchers
  • 712 Stars
  • 3,221,462 Installations
  • PHP
  • 79 Dependents
  • 10 Suggesters
  • 237 Forks
  • 75 Open issues
  • 53 Versions
  • 10 % Grown

The README.md

Solarium PHP Solr Client Library

What is Solarium?

Solarium is a PHP Solr client library that accurately models Solr concepts. Where many other Solr libraries only handle the communication with Solr, Solarium also relieves you of handling all the complex Solr query parameters using a well documented API., (*1)

Please see the docs for a more detailed description., (*2)

Requirements

Solarium 6.3.2 and up only supports PHP 8.0 and up., (*3)

It's highly recommended to have cURL enabled in your PHP environment. However if you don't have cURL available you can switch from using cURL (the default) to a pure PHP based HTTP client adapter which works for the essential stuff but doesn't support things like parallel query execution., (*4)

Alternatively you can inject any PSR-18 compatible HTTP Client using the Psr18Adapter., (*5)

Getting started

The preferred way to install Solarium is by using Composer. Solarium is available on Packagist., (*6)

Example:, (*7)

composer require solarium/solarium

Pitfalls when upgrading from earlier versions

When upgrading from an earlier version, you should be aware of a number of pitfalls., (*8)

Run the examples

To run the examples read through the Example code section of the documentation., (*9)

Run the tests

The phpunit tests contain some integration tests that require a running Solr instance. And this Solr instance requires some special configuration. Have a look at .github/workflows/run-tests.yml to see how to start a well configured Solr docker container locally. If you just want to run the unit tests, just ensure that there's no other Solr server listening on the standard port 8983 and the integration tests will be skipped., (*10)

You can run the tests in a Windows environment. For all of them to pass, you must make sure to checkout with LF line endings., (*11)

More information

  • Docs http://solarium.readthedocs.io/en/stable/, (*12)

  • Issue tracker http://github.com/solariumphp/solarium/issues, (*13)

  • Contributors https://github.com/solariumphp/solarium/contributors, (*14)

  • License See the COPYING file or view online: https://github.com/solariumphp/solarium/blob/master/COPYING, (*15)

Continuous Integration status

  • Run Tests
  • codecov
  • Total Downloads

The Versions

26/01 2018

dev-backport-use-travis-cache-for-solr-download

dev-backport-use-travis-cache-for-solr-download http://www.solarium-project.org

PHP Solr client

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

php search solr

11/06 2015
23/12 2014
17/02 2014

dev-feature/score-filter

dev-feature/score-filter http://www.solarium-project.org

PHP Solr client

  Sources   Download

NewBSD

The Requires

 

The Development Requires

php search solr

13/09 2013

3.2.0

3.2.0.0 http://www.solarium-project.org

PHP Solr client

  Sources   Download

NewBSD

The Requires

 

The Development Requires

php search solr

13/09 2013

3.2.0-RC1

3.2.0.0-RC1 http://www.solarium-project.org

PHP Solr client

  Sources   Download

NewBSD

The Requires

 

The Development Requires

php search solr

05/06 2013

3.1.2

3.1.2.0 http://www.solarium-project.org

PHP Solr client

  Sources   Download

NewBSD

The Requires

 

php search solr

11/04 2013

3.1.1

3.1.1.0 http://www.solarium-project.org

PHP Solr client

  Sources   Download

NewBSD

The Requires

 

php search solr

27/02 2013

3.1.0

3.1.0.0 http://www.solarium-project.org

PHP Solr client

  Sources   Download

NewBSD

The Requires

 

php search solr

11/02 2013

3.1.0-RC1

3.1.0.0-RC1 http://www.solarium-project.org

PHP Solr client

  Sources   Download

NewBSD

The Requires

 

php search solr

11/02 2013

2.4.1

2.4.1.0 http://www.solarium-project.org

PHP Solr client

  Sources   Download

NewBSD

The Requires

  • php >=5.2.0

 

php search solr

03/01 2013

3.0.1

3.0.1.0 http://www.solarium-project.org

PHP Solr client

  Sources   Download

NewBSD

The Requires

 

php search solr

19/12 2012

3.0.0

3.0.0.0 http://www.solarium-project.org

PHP Solr client

  Sources   Download

NewBSD

The Requires

 

php search solr

26/09 2012

3.0.0-RC1

3.0.0.0-RC1 http://www.solarium-project.org

PHP Solr client

  Sources   Download

NewBSD

The Requires

 

php search solr

16/04 2012

2.4.0

2.4.0.0 http://www.solarium-project.org

PHP Solr client

  Sources   Download

NewBSD

The Requires

  • php >=5.2.0

 

php search solr

04/01 2012

2.3.0

2.3.0.0 http://www.solarium-project.org

PHP Solr client

  Sources   Download

NewBSD

The Requires

  • php >=5.2.0

 

by Bas de Nooijer
by Gasol Wu

search solr