php based github like clone