TruCMS Developer Documentation: Start Here

This is the developer documentation for TruCMS. It explains how the platform is built and how to extend it with plugins, themes, shortcodes, widgets, settings screens and payment gateways, and it includes the reference tables you need while coding.

  1. Read Introduction to TruCMS Development and TruCMS Architecture Overview to learn the stack and the boot sequence.
  2. Set up a working copy with Local Development Setup for TruCMS.
  3. Follow Tutorial: Build Your First TruCMS Plugin end to end.
  4. Use What Can I Extend in TruCMS? to find the guide for each feature you add.
  5. Keep the reference sections open while you work, then finish with testing, packaging and deployment.

What is in this documentation

Getting Started

What TruCMS is, how it is built, where code lives and how to get a working local copy.

Platform Tour for Developers

How each part of the product works, with the code areas and permissions behind every screen.

Plugin Development

The plugin lifecycle, the manifest, the service provider, a complete tutorial and packaging.

Extending the Admin and Backend

Add admin menus, settings, permissions, routes, models, events, jobs and schedules.

Extending the Page Builder and Public Site

Page types, shortcodes, data-bound sections, widgets, menus and the template library.

Payments, Localization and Performance

Take payments, add a gateway, translate your extension and keep requests fast.

Theme Development

Build, configure and style themes: anatomy, options, the CSS pipeline and assets.

API and Configuration Reference

Facades, helpers, hooks, routes, middleware and Artisan commands.

Data and Catalog Reference

Database tables, permission names, built-in blocks, widgets and theme options.

Build, Test and Deploy

Run tests, build front-end assets, and ship and update a TruCMS site.

Security and Troubleshooting

Secure extensions, known quirks and fixes for common problems.