FieldTypes, like any other eZ Publish 5 Platform extensions, must be provided as Symfony 2 bundles. This chapter will cover the creation and organization of this bundle.
First, we will explain how to generate the skeleton for a standard Symfony 2 bundle using the console: Creating the bundle. Then, we will explain what structure we suggest for storing a FieldType Field Type inside a bundle: Structuring the bundle.