Download the PHP package jakub-klapka/laravel-sharepoint-upload-client without Composer
On this page you can find all versions of the php package jakub-klapka/laravel-sharepoint-upload-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jakub-klapka/laravel-sharepoint-upload-client
More information about jakub-klapka/laravel-sharepoint-upload-client
Files in jakub-klapka/laravel-sharepoint-upload-client
Download jakub-klapka/laravel-sharepoint-upload-client
More information about jakub-klapka/laravel-sharepoint-upload-client
Files in jakub-klapka/laravel-sharepoint-upload-client
Vendor jakub-klapka
Package laravel-sharepoint-upload-client
Short Description Simple library for file uploading to Microsoft Sharepoint site
License MIT
Homepage https://github.com/jakub-klapka/laravel-sharepoint-upload-client
Package laravel-sharepoint-upload-client
Short Description Simple library for file uploading to Microsoft Sharepoint site
License MIT
Homepage https://github.com/jakub-klapka/laravel-sharepoint-upload-client
Please rate this library. Is it a good library?
Informations about the package laravel-sharepoint-upload-client
Laravel Sharepoint Upload Client
Simple Client for uploading files to Sharepoint Online library. Integrated Laravel Service Provider.
Uses accesscontrol.windows.net OAuth2, so it works with MS ADFS or Azure AAD Authentication.
Usage:
Register ServiceProvider in your app.php:
Use Client factory to make Client instance:
You will need those attributes, you can register Sharepoint App on: https://contoso.sharepoint.com/sites/MySite/_layouts/15/appregnew.aspx
Attribute | Description | Example |
---|---|---|
site_url | Abosolute path to root of your sharepoint site | https://contoso.sharepoint.com/sites/MySite |
app_id | ID of your app | |
app_secret | Secret of your app | |
redirect_uri | Redirect URI has to match the one, entered on appregnew.aspx | https://myapp.com/shp-oauth/ |
Point you user to retrieve Consent:
Get refresh token from auth code, returned based on Consent:
This client does not handle token persistence, feel free to save it to file/db/redis or wherever it is fit for your app.
Refresh token is valid for 6 months.
Use refresh token to upload a file
Resources
All versions of laravel-sharepoint-upload-client with dependencies
PHP Build Version
Package Version
The package jakub-klapka/laravel-sharepoint-upload-client contains the following files
Loading the files please wait ....