Skip to content

robgridley/flysystem-smb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 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

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages