Join GitHub today
[Discussion] Seperate phalcon 4.0 extentions into git submodules #13526
I feel that in an effort of maintainability, each seperate exetention of phalcon come 4.0 should be seperarated into their own repositories and joined into the main repo via submodules
This can be helpful for seperare smaller code bases, issues and pull requests for each part of phalcon.
Proposed version: 4.0
This has been discussed between @sergeyklay and myself but we pretty much never came up with a solid decision on how to proceed. Here are a few of pointers on this.
I am not sure if we can create two extensions with the same namespace. Can things load cumulatively? For instance your loading:
The first extension would load
Prehaps for some inspiration, laravel does a simular thing where each componant of the framework is seperated https://github.com/illuminate where they can be used standalone or installed as part of the laravel framework.
As an answer to point 1 and 3, illuminate has a support component that provides functionallity which multiple components may share.
And I beleive that PHP allows cumulatively namespaces, as long as that namespace isnt already explicitly defined. So you should be able to load