decode base64 with key php

PHP
base64_decode('base64-string-goes-here');
Source

Also in PHP: