Extend User Athena Section
Extending the User's Athena section is a very common task. Here is an example.
<?php
namespace App\Athena;
use Parthenon\Athena\ReadView;
class UserSection extends \Parthenon\User\Athena\UserSection
{
public function buildReadView(ReadView $readView): ReadView
{
$readView = parent::buildReadView($readView);
$readView->section('Packagist')
->field('team.packagistCredentials.customerName', )
->field('team.packagistCredentials.token')
->end();
return $readView;
}
}