Skip to Main Content
CMS
Hosting
Pricing
Partners
Resources
Documentation Knowledge Base Glossary Starters Plugin Store Craft Console Community Support Accessibility Accessibility Report Blog Events
View the Demo
CMS
Hosting
Pricing
Partners
Resources
Documentation Knowledge Base Glossary Starters Plugin Store Craft Console Community Support Accessibility Accessibility Report Blog Events
CMS
Hosting
Pricing
Partners
Resources
Documentation Knowledge Base Glossary Starters Plugin Store Craft Console Community Support Accessibility Accessibility Report Blog Events
View the Demo
CMS
Hosting
Pricing
Partners
Resources
Documentation Knowledge Base Glossary Starters Plugin Store Craft Console Community Support Accessibility Accessibility Report Blog Events
  • Glossary

Controller

A special type of PHP class that processes an HTTP or console request and returns a response.

← Content
All terms
Control Panel →
In the documentation...
Controller Actions
Controllers
Forms
Related terms
Action
Form
Headless
Module
Request
Response
View
Yii
From the Knowledge Base
Entry Form
Plugin Development for Craft Cloud
Resaving Elements
Craft CMS and CVE-2025‑32432
Still have questions?
Contact Us Ask Us on Facebook

New to Craft CMS?

Check out our Getting Started Tutorial.

Community Resources

Our community is active and eager to help. Join us on Discord or Stack Exchange.

Footer

Product

  • Features
  • CloudNew!
  • Commerce
  • What’s New
  • Demo
  • Craft vs. WordPress
  • Terms of Use
  • Changelog
  • Roadmap
  • Pricing

Resources

  • Documentation
  • Knowledge Base
  • Glossary
  • Starters
  • Plugin Store
  • Craft Console
  • Accessibility
  • Partners
  • Events
  • Status
  • Blog

About

  • Brand Resources
  • Legal

Community

  • Code of Conduct
  • Meetups
  • Bluesky
  • Mastodon
Contact Us
Subscribe to Our Newsletter

Regular updates on all things Craft

© 2025 Pixel & Tonic, Inc. Privacy Statement Cookie Notice
a product by Pixel & Tonic