PHPackages                             tecnovix/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. tecnovix/smb

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

tecnovix/smb
============

php wrapper for smbclient and libsmbclient-php

0230PHP

Since Nov 30Pushed 3y ago1 watchersCompare

[ Source](https://github.com/adenisdeveloper/smb)[ Packagist](https://packagist.org/packages/tecnovix/smb)[ RSS](/packages/tecnovix-smb/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

SMB
===

[](#smb)

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)

### Connect to a share

[](#connect-to-a-share)

```
