REST API using phalcon

Hello in a REST API how can get plist or xml instead of json?


I checked the example and it works! but i'm trying to get an output with plist and xml i couldn't get this output yet :(


you just have convert array that returned from model to xml instead of json.

there are plenty array to xml library out there you can search on

here is example array to xml library