Is there any PHP library that enables to import and/or export objects (actually Doctrine 2 entities) to various formats like XML, XLS, CSV, etc.
What I'm looking for is a generic semi-automatic solution (not a specific Excel library for example): ie the only thing to configure is the mapping between the file format and the entities.
Like Doctrine 2 maps objects to DB schemas, that would be a library that maps objects to file formats.
theres should be lots out there, but i only can think of one right now, PHPExcel
on its features page it says:
"Output your spreadsheet object to different file formats"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.