Module (Craft CMS/Yii)

A mod­ule in Craft CMS is a self-con­tained set of code that pro­vides spe­cif­ic func­tion­al­i­ty and, unlike a plu­g­in, is stored and man­aged inside of the Craft CMS project. Mod­ules are sim­i­lar to Craft CMS plu­g­ins but are typ­i­cal­ly more tight­ly cou­pled with the spe­cif­ic project.

Mod­ules are based on Yii’s Mod­ules

You can cre­ate a new mod­ule using the Craft Gen­er­a­tor tool, avail­able in Craft CMS 4+. 

Learn more about cre­at­ing your first Craft CMS mod­ule.