What are companions.
Unless they’ve changed it, a companion is literally anything. Again, they may have totally changed it, but mini pets even counted as companions. You got the bonus when you just had a mini out.
For the purposes of triggering the bonus damage (#6), the game considers summoned NPCs to be companions; this includes illusions, minions, and those produced by sigils (e.g. Sigil of Demon Summoning) or various consumables.
However, you lose the bonus if your animal companion dies.
Anomaly:
The bonus is also applied if the player has a miniature out or has used a summoning skill from a gizmo, e.g. via Summon Familiar (bat).
(from GW2 wiki)
http://wiki.guildwars2.com/wiki/Rune_of_the_ranger
The “Notes” section has all the information you need! Basically, companions are summoned NPCs or pets.
Tarnished Coast