在Yii框架中使用XML作为数据源

I am building a relatively simple application using the Yii framework for a college project and I need to use XML files as the data source rather than a DB. There is a tiny amount of data that will need to be persisted, and it won't change a whole lot so the complexity of a DB is unnecessary.

The XML files will store a few integers and some strings, this data will need to be read in and used by a controller class.

In terms of updating the data in the XML files, the user does not want to do that via the application, they will just open the file(s) itself and change the data manually when needed.

Can anyone point me in the right direction as to how to go about this. Any info at all is greatly appreciated.

Perhaps worth considering using SQLite as this will create a database as a text file and perhaps simpler than using XML.