Is there a method (easy or difficult, i don't care) to include Solarium in zend framework. What i want is that i can use solarium everywhere in my application without causing any problems. Thank you all.
Asked
Active
Viewed 273 times
1 Answers
0
Pretty Simple to follow instructions at http://wiki.solarium-project.org/index.php/V3:Installation
Step 1 > Create composer.json in your zend library folder
{
"require": {
"solarium/solarium": "3.2.0"
}
}
Step 2 > Download composer from https://getcomposer.org/download/ and install it
Step 3 > Open command prompt and change your directory to the zend library folder.
Step 4 > Run "composer install" command, You will see the solarium package in vendors folder
Step 5 > Put following code in your bootstrap.php
require 'vendor/autoload.php';
Now you are ready to go test example scripts by solarium in any of the controller

Krishan Gopal
- 4,073
- 1
- 16
- 19