Voting library for PHP