Add phpMyAdmin to Local

Create new website with Local and replace PHPMyAdmin source code to the public folder.
Then, configure config.inc.php file to add other websites as the server selectbox of the phpmyadmin login screen.
Change the port number and verbose according to your requirements.

$i++;
$cfg['Servers'][$i]['verbose'] = 'Dev 1';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '10004';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['AllowNoPassword'] = false; 

Source: https://theinspired.dev/blog/how-to-add-phpmyadmin-to-local-by-flywheel/