Closed danrot closed 8 years ago
It can be added under the suggest
section, but should not be under the require
section. The reason is because all functionality in zend-stdlib is opt-in, and many components are using only ArrayUtils
or the various SPL extensions.
Ok, we are using the zend search library, so should it be there in the require section?
@danrot Add it to the require
section of your application; since your application requires it, that's the place to put it.
@danfinnie should be added to https://github.com/zendframework/ZendSearch, although that library is not maintained
@Ocramius Ok, any chance to add it there although it is not maintained? And I am just curious, but do you know any maintained alternative?
Not aware of any
Ok, then I gonna close this issue... Maybe I'll try to add that later to zend search, if that is ok, and there is any chance of anybody merging it.
As you are using the multibyte extension in the string wrapper, this should also be mentioned in the composer.json file, like described in this blog post. I am running a project on heroku using this library, and I have to add this extension now to my project, although it would belong here.
Is there any reason not to add this? Otherwise I would provide a PR.