TYPO3-customloginscreen is a project mainly written in PHP, it's free.
Feel free to add some documentation or simply add a link to the online manual.