I am busy installing gitolite3 with smart http. Gitolite3, essentially, is just a bunch of scripts that relay requests back to the git-http-backend (i think), and calls all sorts of hooks before/during/after every public git request.
Is there somewhere a similar thing written in php? When I view the urls that git requests over http in firefox, I notice that the communication is nothing else but text, so I'm pretty sure you could 'catch' git requests per php in apache (or nginx), and run a authorization system like that, that relays these git requests to the git backend.
I guess I'm looking for a php-git module, but I couldn't find anything. Is there something out there like Im describing here?