Here's another PHP framework for processing the CardHunter API. Data is stored ina JSON text file rather than a database, so it's not appropriate for applications which require access to a complete history of battle data. (Those applications should use @Farbs' framework.) Essentially, this framework passes battle data in a processing method which operates on that battle alone, plus some small amount of persistent state.