Skip to content

hamrak/flysystem-smb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flysystem Adapter for Icewind SMB

Usage

use Icewind\SMB\BasicAuth;
use Icewind\SMB\ServerFactory;
use League\Flysystem\Filesystem;
use RobGridley\Flysystem\Smb\SmbAdapter;

$factory = new ServerFactory();
$auth = new BasicAuth('username', 'domain/workgroup', 'password');
$server = $factory->createServer('host', $auth);
$share = $server->getShare('name');

$filesystem = new Filesystem(new SmbAdapter($share));

Installation

$ composer require robgridley/flysystem-smb

Note

This adapter does not support visibility. Calls to visibility() or setVisibility() throw exceptions and setting visibility via writes, moves, etc. is ignored.

About

Flysystem Adapter for Icewind SMB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%