There are 3 repositories under php-ransomware topic.
PHP Ransomware targeted at Web Server
A way to scriptkiddie ransomware decryption.