PHPackages                             crystalservice/samba - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. crystalservice/samba

Abandoned → [icewind/smb](/?search=icewind%2Fsmb)Library[Utility &amp; Helpers](/categories/utility)

crystalservice/samba
====================

PHP samba stream wrapper

v1.1.0(9y ago)42.4k3MITPHP

Since Jun 21Pushed 9y ago5 watchersCompare

[ Source](https://github.com/crystalservice/samba)[ Packagist](https://packagist.org/packages/crystalservice/samba)[ RSS](/packages/crystalservice-samba/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (3)Dependencies (4)Versions (7)Used By (0)

Samba PHP stream wrapper
========================

[](#samba-php-stream-wrapper)

[![Build Status](https://camo.githubusercontent.com/87aa382b516c5df8c001b7348ee857823f3a683446a02cbb0aa85cb64eee19b3/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6d756e6b69652f73616d62612e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/crystalservice/samba)[![Coverage Status](https://camo.githubusercontent.com/cfa1a6128b7c1695bb51bc67678893a3fbe618f1b73e1e56ec8f5fe16139c722/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6d756e6b69652f73616d62612f62616467652e706e67)](https://coveralls.io/r/crystalservice/samba)[![Code Climate](https://camo.githubusercontent.com/3d7598423b518c9f78eb0420523cdf1eccb0cf8dbfeaedf7a11ac6365606d9c1/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6d756e6b69652f73616d62612e706e67)](https://codeclimate.com/github/crystalservice/samba)

Fork of [SMB4PHP](https://code.google.com/p/smbwebclient/)

Requirements
------------

[](#requirements)

**smbclient** should be installed (use `sudo apt-get install smbclient` on ubuntu)

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

[](#installation)

Add following to your *composer.json* file:

```
{
    "require": {
        "munkie/samba": "~1.0"
    },
}
```

Usage
-----

[](#usage)

Register samba stream wrapper:

```
\Samba\SambaStreamWrapper::register();
```

You can check if wrapper is already registered using this call:

```
\Samba\SambaStreamWrapper::is_registered();
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~268 days

Total

4

Last Release

3541d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e882e0b1a43a5dfb41acc12adcf434a022616a25e330dda2f6d2e88d26b6fe1?d=identicon)[crystalservice](/maintainers/crystalservice)

---

Top Contributors

[![munkie](https://avatars.githubusercontent.com/u/102297?v=4)](https://github.com/munkie "munkie (67 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/crystalservice-samba/health.svg)

```
[![Health](https://phpackages.com/badges/crystalservice-samba/health.svg)](https://phpackages.com/packages/crystalservice-samba)
```

###  Alternatives

[morilog/jalali

This Package helps developers to easily work with Jalali (Shamsi or Iranian) dates in PHP applications, based on Jalali (Shamsi) DateTime class.

9201.2M45](/packages/morilog-jalali)[magefan/module-blog

Implements Blog functionality on Magento 2 store

2702.3M9](/packages/magefan-module-blog)[demouth/dmgeocoder

Geocoding library.

216.9k](/packages/demouth-dmgeocoder)

PHPackages © 2026

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