I don't know how it works in vBulletin but in other PHP based software it is just an archive (zip, tar.gz or something like that). that contains the PHP files.

In that case the archive just needs to be extracted, modified and packed again and uploaded or the files directly uploaded via SCP, SFTP or FTP (depending on the server side software).