homedesignshops/flysystem-sharepoint
最新稳定版本:v1.5.1
Composer 安装命令:
composer require homedesignshops/flysystem-sharepoint
包简介
Flysystem v2 SharePoint adapter for the Microsoft Graph API
README 文档
README
This package contains a Flysystem adapter for Sharepoint. Under the hood, the Microsoft Graph API v1 is used. You need an Azure App to use this package.
Installation
You can install the package via composer:
composer require homedesignshops/flysystem-sharepoint
Usage
The first thing you need to do is creating a new Azure Application. Make sure you set the Microsoft Graph API Permissions inside your created application:
- Files.ReadWrite.All
- Group.ReadWrite.All
After that, you can use the adapter as follows:
use Homedesignshops\FlysystemSharepoint\SharepointClient; use Homedesignshops\FlysystemSharepoint\SharepointAdapter; use League\Flysystem\Filesystem; $client = new SharepointClient($tenantId, $clientId, $clientSecret, $sharepointGroupName) $adapter = new SharepointAdapter($client, $pathPrefix); $filesystem = new Filesystem($adapter);
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email kevin@homedesignshops.nl instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 974
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-09-23