…I tried to see if it is easy to make cakephp into a pear package. The first problem I see is the ROOT constant which is used in many places in the framework (32 times in 7 files. I’m using the latest version: 0.10.5.1790 RC 1). It makes the separation between the application and cake not easy because it is used by both.
Personally, I do not know if it will be possible to create such a package since CakePHP was not designed for such a scenario. Anyway, good luck, Mustapha!