Skip to content

tzorzo/flysystem-smb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 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

About

Flysystem Adapter for Icewind SMB

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%