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

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sgrabaum/smb
============

php wrapper for smbclient and libsmbclient-php forked by icewind1991/SMB

1.0.5.1(10y ago)010.4kMITPHPPHP &gt;=5.3

Since Apr 10Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Steffen-99/SMB)[ Packagist](https://packagist.org/packages/sgrabaum/smb)[ RSS](/packages/sgrabaum-smb/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (3)Versions (9)Used By (0)

SMB
===

[](#smb)

Project is forked by icewind1991/SMB to give localisations of connections. In version 1.0.4 only US available.

PHP wrapper for `smbclient` and [`libsmbclient-php`](https://github.com/eduardok/libsmbclient-php)

- Reuses a single `smbclient` instance for multiple requests
- Doesn't leak the password to the process list
- Simple 1-on-1 mapping of SMB commands
- A stream-based api to remove the need for temporary files
- Support for using libsmbclient directly trough [`libsmbclient-php`](https://github.com/eduardok/libsmbclient-php)

Examples
--------

[](#examples)

### Upload a file

[](#upload-a-file)

```
