How to add custom user fields?

How to add custom user fields ?

In your config config/config.php you can define custom fields to extend account information

<?php

return [

    'account' => [
        'fields' => [

            'adress' => [
                'type' => 'text',
                'label' => 'textarea',
            ],

            'phone' => [
                'type' => 'text',
                'label' => 'Telephone Number'
            ]
        ]
    ],

];