php - Edit files stored on server through Office 365

one text

Solution:

It is possible to allow for users to view and edit Office files through a custom web application by deploying Office Web Apps server on a dedicated server or virtual machine. Please have a look at the documentation via this link to learn more on Office Web Apps: https://learn.microsoft.com/en-us/webappsserver/office-web-apps-server.

To modify a word or excel document via an API call, you may use Office Add-Ins SDK to build a web application that interacts with the object models in Office applications. Please have a look at the Office Add-Ins SDK documentation: https://learn.microsoft.com/en-us/javascript/api/overview?view=excel-js-preview

Source