PhpSgeX it's a cms/tool/engine/framework for creating your realtime strategy game!
It's 100% customizable and you don't need to know PHP or MySql to start with it!
PhpSgeX it's opensource and you can use it free if you don't make money with it,
if you want to make money you'll need to buy commercial license
PhpSgeX documentation it's in the code
For latest stable version just go to files section of this project: https://sourceforge.net/projects/phpstrategygame/files/engine/
For dev version, or if you want to try development use git (I recomend tortoise git)