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

I am looking to try this file manager for angular https://www.syncfusion.com/kb/11162/how-to-get-started-easily-with-syncfusion-angular-9-file-manager

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

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *