Whoever is an interrogative pronoun in the nominative case; whomever is the objective form of the same pronoun. They follow precisely the same rules as those for who and whom (See who).
Dictionary of problem words and expressions. Harry Shaw. 1975.