We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

separate apps that use a common shared lib

I want to set up 2 apps that use a common shared library. One is api and other is common apps. I think i need to rewrite .htaccess but i can't figure out how to do that. Does anyone have an idea?

Thanks for helping!

Is the common shared library a PHP file? If so, just set up the DI in each of those apps to point to the common directory that library is stored in - your .htaccess file doesn't need to be touched.