Base de datos en tiempo real de Firebase Obtenga todos los datos

$database->getReference('currencies')
    // order the reference's children by their key in ascending order
    ->shallow()
    ->getSnapshot()
    
//get child ref.
$database->getReference('currencies')->getChildKeys(); // returns an array of key names
@CodeGrepperManu