PHPackages                             whatwedo/flysystem-smb - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. whatwedo/flysystem-smb

ActiveLibrary[File &amp; Storage](/categories/file-storage)

whatwedo/flysystem-smb
======================

smb icewind adapter for Flysystem.

0.2.0(3y ago)122.0k↓33.3%2MITPHPPHP ^7.2 || ^8.0

Since Aug 5Pushed 3y ago11 watchersCompare

[ Source](https://github.com/whatwedo/flysystem-smb)[ Packagist](https://packagist.org/packages/whatwedo/flysystem-smb)[ RSS](/packages/whatwedo-flysystem-smb/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

Flysystem SMB Adapter
=====================

[](#flysystem-smb-adapter)

This Flysystem adapter uses

Installation
------------

[](#installation)

```
composer require whatwedo/flysystem-smb
```

Usage
-----

[](#usage)

```
use League\Flysystem\Filesystem;
use League\Flysystem\Memory\MemoryAdapter;

$serverFactory = new \Icewind\SMB\ServerFactory();
$auth = new \Icewind\SMB\BasicAuth('medsuite', 'workgroup', 'medsuite');
$server = $serverFactory->createServer('localhost', $auth);

$share = $server->getShare('Medsuite Share');

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

$filesystem->write('new_file.txt', 'yay a new text file!');

$contents = $filesystem->read('new_file.txt');

// Explicitly set timestamp (e.g. for testing)
$filesystem->write('old_file.txt', 'very old content', ['timestamp' => 13377331]);
```

Known Issues
------------

[](#known-issues)

- Visibility is set by using `\Icewind\SMB\Wrapped\FileInfo::MODE_HIDDEN`
- function `mimeType(string $path)` can be buggy

License
-------

[](#license)

This bundle is under the MIT license. See the complete license in the bundle: [LICENSE](LICENSE)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~552 days

Total

2

Last Release

1195d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b3e1f1d733d5751e8420f54ef353298227f0cbcf6687aa80e0d5456004f572b6?d=identicon)[rugbymauri](/maintainers/rugbymauri)

---

Top Contributors

[![rugbymauri](https://avatars.githubusercontent.com/u/5549264?v=4)](https://github.com/rugbymauri "rugbymauri (5 commits)")[![antoniopaisfernandes](https://avatars.githubusercontent.com/u/6171197?v=4)](https://github.com/antoniopaisfernandes "antoniopaisfernandes (1 commits)")

---

Tags

flysystemflysystem-adapterphp-librarysambasmbfilesystemFlysystemfilefilesstoragesmbicewind

### Embed Badge

![Health badge](/badges/whatwedo-flysystem-smb/health.svg)

```
[![Health](https://phpackages.com/badges/whatwedo-flysystem-smb/health.svg)](https://phpackages.com/packages/whatwedo-flysystem-smb)
```

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[league/flysystem

File storage abstraction for PHP

13.6k639.1M2.2k](/packages/league-flysystem)[league/flysystem-local

Local filesystem adapter for Flysystem.

225231.8M39](/packages/league-flysystem-local)[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6129.6M91](/packages/league-flysystem-sftp-v3)[league/flysystem-async-aws-s3

AsyncAws S3 filesystem adapter for Flysystem.

2610.5M31](/packages/league-flysystem-async-aws-s3)[league/flysystem-ziparchive

ZIP filesystem adapter for Flysystem.

1039.3M58](/packages/league-flysystem-ziparchive)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
