• Getting Started
  • Lessons
  • Developer Guides
  • Optional features
  • Upgrading
  • Changelogs
  • Contributing
    • Issues and Bug Reports
    • Contributing Code
    • Contributing Documentation
    • Contributing Translations
    • Coding conventions
      • PHP coding conventions
      • Javascript coding conventions
      • CSS coding conventions
    • Build tooling
    • Triage and peer review
    • Release process
    • Managing security issues
  • Project Governance
  1. Contributing
  2. Coding conventions
Version 5Supported

This version of Silverstripe CMS is still supported though will not receive any additional features.

Go to documentation for the most recent stable version

Coding conventions#

PHP coding conventions

The code style guidelines we use in our open source software

Javascript coding conventions

The Javascript style guidelines we follow in our open source software

CSS coding conventions

The CSS style guidelines we follow in our open source software

Edit on GitHub