In order to use the PHP Share Point Lists API you will need a valid user/service account with the permissions to the required list.For most Share Point installations, you can create a new instance of the API using: The query method can be used when you need to specify a query that is to complex to be easily defined using the read methods.
The PHP Share Point Lists API is designed to make working with Share Point Lists in PHP a less painful developer experience.
Rather than messing around with SOAP and CAML requests, just include the Share Point lists API in to your project and you should be good to go.
This library is free for anyone to use and is licensed under the MIT license.
Using the PHP Share Point Lists API, you can easily create, read, edit and delete from Share Point list.
To add a new item to a list you can use either the method "write", "add" or "insert" (all function identically).
Creating a new record in a List with the columns forename, surname, age and phone may look like: The above actions can also be performed using the CRUD wrapper on a list.This may be useful when you want to perform multiple actions on the same list.The API also has support for querying list metadata and the list of lists.Known to work with: Share Point 2007, Share Point 2013 and Share Point online (experimental).Download the WSDL file for the Share Point Lists you want to interact with.This can normally be obtained at: If you are not using composer you can download a copy of the Share Point API files manually and include the top "Share Point API.php" class in your project.