Edit Documents using REST API in PHP As a PHP developer, you can easily add, edit or delete the content of Word documents, Excel spreadsheets, or text files programmatically on the cloud. In this article, you will learn how to edit documents using a REST API in PHP.