Zend search integration in native PHP project -


i integrate zend search native php project. getting kinds of include errors.

i have done research , seems there lot old articles written before zf2. zf1 used straight forward. include lucene.php , it.

however since release of zf2 search component no longer part of zf2's skeleton , down-loadable separately. when included lucene.php, script stars complaining missing classes. (include problem)

should include files or should use kind of autoloader?

you can use composer install individual zf2 packages, , take care of autoloading , dependencies you.

https://github.com/zendframework/zendsearch

you can see needs

zendframework/zend-stdlib 

download repository , install composer, dependencies you, , setup autoloading.

php composer.phar install 

Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -