FieldTypes, like any other eZ Publish 5 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 inside a bundle: Structuring the bundle.