All you need is a weapon hit, but the minor kills (spiderlings, zombies, duskwings, etc) do not give as much exp, and you cannot level as fast (By my experiments). You also get many more weapon hits per enemy and many more souls with this way.