robgridley / flysystem-smb
Flysystem adapter for Icewind SMB.
Installs: 226 316
Dependents: 0
Suggesters: 2
Security: 0
Stars: 13
Watchers: 3
Forks: 8
Open Issues: 0
Requires
- php: ^8.1
- icewind/smb: ^3.0
- league/flysystem: ^3.0
Requires (Dev)
README
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.