Is there anything out there like Github that is for your own local server? I am curious if there is like a PHP script or even a desktop client that mimics Github\'s functio
The Community Edition lacks many import features like hooks. I recommend gerrit. It is light-weighted and open-source.
I searched for git PHP implementations too, but with no results. The only way to re-create a site similar to GitHub is to setup a "real" git server on your own server and then use a PHP git web client like http://www.xiphux.com/programming/gitphp/.
Unfortunatly, you can forget to do this with a hosting solution. You need a real virtual server where you can install everything you want.
However, if you need a place where store some personal, non-public, non-accessible-to-everyone code for a project, you can try BitBucket. It offers private and private-shared git repos for free.
I'm quite surprised nobody mentioned the open-source project gogs (http://gogs.io) or a derived fork of it called gitea (http://gitea.io) which basically offers the same what gitlab does, but with minimal system resources (low footprint), being perfect to run in a Raspberry Pi for example. Installation and maintenance is also way simpler.
you should check out this one: http://gitlist.org/.
It is written in PHP as you wanted it to be.
Yes, there's GitHub Enterprise :)
https://enterprise.github.com
Only problem is it's a bit pricey :(
Gitlab has made their service available to run on your own server for free. https://about.gitlab.com/downloads/