We are in the process of creating a open source persistent browser based web game (PBBG) framework which will have all the features to get you started and let you start developing your unique features without having to write all the basics. We have taken a modular approach, you can use only the modules you want. If you wanted just a forum you could enable only the core, user and forum modules.
We are building our framework using Kohana which is an open source, object oriented (H)MVC web framework built using PHP5 by a team of volunteers that aims to be swift, secure, and small. We are using Kohana 3.3 with many modules, including the following:
1.) ORM is a a powerful Object Relational Mapping (ORM) module that uses the active record pattern and database introspection to determine a model's column information.
2.) Mustache is a template specification we use for our templates, we use Kostache's implementation.
You can download our preview release at https://sourceforge.net/projects/modulargaming/files/ You can view a demo at
http://demo.modulargaming.com If you have any questions, bugs or feature requests feel free to post them on the issue tracker at GitHub. https://www.github.com/modulargaming/modulargaming
Licensed under a BSD license. Modular Gaming can be used legally for any open source, commercial, or personal project.