Mainly notes to future-Twig (and for anyone else who may find them useful)
I find that the phpMyAdmin cookie expires a bit too quickly for my liking.
To change it, edit your "config.inc.php" file and add this at the end.
$cfg['LoginCookieValidity'] = 7200;
The default is 1800 (30mins), so this will set it to 2hrs.