If I understand the original question correctly, I have the same question. I am writing multiple libraries in zephir, but would like to #include <ext/phalcon/phalcon.h> so that I can use some phalcon components in my library. For example, re-using cache, annotations and DI would be great.
I'm stuck being unable to continue on a couple of ideas just because I cant figure out how to include the phalcon annotations. I tried to copy/paste the zep files into my library and rename namespace, but then it requires some optimizations and c files and I have no clue how to make those work.
Would be nice to have some kind of: import Phalcon