Skip to content

Instantly share code, notes, and snippets.

roxblnfk roxblnfk

View GitHub Profile
@roxblnfk
roxblnfk / How to use.php
Last active Jul 16, 2019
FlySystem/WebDAV wrapper (fix ->readStream() for v1.0.5 https://github.com/thephpleague/flysystem-webdav/tree/1.0.5)
View How to use.php
<?php
use League\Flysystem\Filesystem;
use WebDAVAdapterWrapper;
use WebDAVClientWrapper;
$client = new WebDAVClientWrapper($settings);
$adapter = new WebDAVAdapterWrapper($client);
$flysystem = new Filesystem($adapter);
You can’t perform that action at this time.