Create Plugins

How to create plugins with the Extbase framework and Fluid templating engine is handled in depth in the chapter Configuring the Plugin in the “Extbase / Fluid book”.

There are basically two ways to create plugins in TYPO3:

  1. With the Extbase framework using configurePlugin() in the file ext_localconf.php and registerPlugin() in the file Configuration/TCA/Overrides/tt_content.php
  2. Create a plugin using AbstractPlugin without Extbase.

Generally speaking, if you already use Extbase, it is good practice to create your plugins using the Extbase framework. This also involves:

  • creating controller actions
  • create a domain model and repository (if your plugin requires records that are persisted in the database)
  • create a view using Fluid templates