Invites-PHP is a project mainly written in PHP, it's free.
A simple invite PHP code. Just basics, add your design and feel free to do whatever.