Skip to content
Emanuele Minotto edited this page Apr 30, 2016 · 5 revisions

Contributes must follow these rules:

  • no vendors code, no namespaces, no global variables, new functions nor new classes (yes, I know, it's hard)
  • every PHP functionality must be included in the crystal.php file
  • the PHP documentation is full of functionalities, use them!
  • the code must be documented (one big file is hard to read, one big undocumented source is impossible to read)
  • every pull request must be documented
  • PECL extensions are allowed only if the existence if checked using extension_loaded and if the functionality doesn't infect enything else but adds functionalities or improves the existing features