Jump to main content Jump to doc navigation

What is a Service?

A service is any object that is loaded via $modx->getService. It can be a custom class provided by the user, or by MODX itself.

Once an object is loaded with getService, it is accessible via $modx->(servicename). So, for example:

  'api_key' => 3212423,

What are the Default Included Services?

A list of the core-included MODX Services is as follows:

  1. modFileHandler
  2. modMail
  3. modRegistry

See Also

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.


  • modmore
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Dannevang Digital
  • Digital Penguin
  • Sepia River Studios
  • CrewMark
  • Chris Fickling
  • deJaya
  • Following Sea
  • Anton Tarasov
  • eydolan
  • Raffy
  • Lefthandmedia
  • Murray Wood
  • Nick Clark
  • Snow Creative
  • Helen
  • JT Skaggs
  • krisznet
  • YJ
  • Yanni
  • Richard


$370 per month—let's make that $500!

Learn more