A little note that there are many members of this family:
Soy bean (Glycine max)
Beans, peas, chickpeas
Alfalfa (Medicago sativa)
Licorice (Glychyrrhyza glabra)
Astragalus (Astragalus membranaceus)
Red clover (Trifolium pratense)
Sweet clover (Melilotus officinalis)
If a person has a peanut allergy, it does not necessarily mean that all members of the pea family are dangerous, however, it is worthwhile to ere on the side of caution. Cross-reactivity does exist, however it does not always happen.
Interesting to note that almonds are part of Rosaceae (or Rose family) with apples, pears, cherries, raspberries, hawthorne, peaches strawberries. And walnuts and pecans are in Juglandaceae.
The botanical origins of these families is indeed a lovely study!
Or some information for a good game of Trivial Pursuit ;)