php numberformatter spellout currency code example
Example: php numberformatter currency without symbol
// change symbol to whatever you want, nothing to no-symbol
$fmt = new NumberFormatter('en_GB', NumberFormatter::CURRENCY);
$fmt->setSymbol(NumberFormatter::CURRENCY_SYMBOL, '');
echo $fmt->formatCurrency($price, 'EUR');