For studying purpose, a good open source system should meet the following criterias:
1. built up from ground up, not relaying on any other frameworks or libraries;
2. good design, in terms of system artichecture;
3. has an open community, that is popular and with high activity.
Here list some open-source PHP systems(domestic):