phpSPO
phpSPO copied to clipboard
Microsoft 365 Library for PHP.
Hello, I would like to write file to my OneDrive using PHP but I can't guess how to. Looking in the "FileSystem" class, it seems to be empty, where I...
I get `Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 528384 bytes) in /vendor/vgrem/php-spo/src/Runtime/ClientObjectCollection.php on line 75 ` when I try to iterate items that I...
Hi there. I'm using your library with my WordPress website. The main goal is to allow future users to be able to access files stored in specific folders in my...
Can I list PDFs stored under a contact for some entity case and create downloadable links in a php application like wordpress?
Hi, Thanks for your library it really its a piece of work, I used it in the past and had great results! but now i have a new requirement that...
**i would like how to get all files of one folder that contains more folders and files.** This is my code : $ctx = ClientContext::connectWithUserCredentials($sharepoint['url'], $sharepoint['user'], $sharepoint['password']); $folders = $ctx->getWeb()->getFolders();...
PHP version: 7.4.13 vgrem/phpSPO version: latest from `composer require vgrem/php-spo` I have tested a very minimal setup using the following code snippet ```use Office365\Runtime\Auth\AuthenticationContext; use Office365\SharePoint\ClientContext; use Office365\Runtime\Utilities\RequestOptions; use Office365\Runtime\Utilities\UserCredentials;...
Firstly I would like to say how fantastic and useful these PHP SharePoint Libraries have been. I am writing a system to do a weekly crawl our SharePoint Site to...
Using v2.4.3 I'm hoping this is user error on my part. If anyone could please advise it would be much appreciated. Code ``` function acquireToken(AuthenticationContext $authCtx,$clientId,$userName,$password) { $resource = "https://outlook.office365.com";...
Hi there, Getting the issue below trying to use the phpSPO library, verified the user details and they are correct. Running from a local repo at the moment (`via PHP...