I stumbled across this concept playing a revised ranger, and it's a bit situational but works OK, and might work for PHB ranger as well.
Via druid or feat, get the create bonfire cantrip. At level 5, it's 2d8 damage against a dex save, which is triggered whenever one of three things happen:
A...