At my work we are moving our web services from one monolith site written in an in-house framework over to smaller service clusters, organised by function.
Each cluster will be a modular Phalcon project where each module will be a new version number.
The only problem is that we have some procedures which are shared across different clusters, and don't want to reproduce code.
Our first thought was to program these global functions in Zephir, which might not be feasible, depending upon how well Zephir works with databases.
Anyway, does anyone have any experience with doing this in Phalcon? And what would their recommendation be for sharing functionalities across sites?