How to use syncfusion angular file manager on the back-end in php?

  angular, angular9, ej2-syncfusion, symfony4

I am looking to try this file manager for angular

But their documentation doesn’t seem to explain how the component reads files from the server. It has settings for an ajax url but i can’t find anything that shows how it’s expecting the data about files and folders back from the api call?

I’m using Symfony in PHP for the api calls with a route that is able to read the folder and build data about the files to send back. So i’m assuming there is some json data that needs returning from the call.

Anyone used this library and have any idea what the structure of the returned json should look like? If i’m wrong, then how else does it access the files?

Source: Symfony4 Questions