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

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -