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

Use Phalcon application through composer

Hi,

Is there a way to directly access Phalcon controller methods without setting routes. I developed a Phalcon application, now I want this application available through composer and want to access library methods through core PHP. Please answer with examples.

Thanks, Jhon

Hi,

To resolve this problem, I write a wrapper Pherlin. At the moment you can connect the modules through composer with minimal configuration. But for now there is one outstanding issues: connection module resources (css, js, img). Now they need to migrate to folder /public.

Also, documentation does not look good. But I'm trying to fix it.