crystalservice / samba
v1.1.0
2016-09-04 08:46 UTC
Requires (Dev)
- codeclimate/php-test-reporter: ~0.3
- phpunit/phpunit: ~4.0
- satooshi/php-coveralls: ~1.0
- symfony/filesystem: ~2.3
This package is not auto-updated.
Last update: 2020-01-20 03:30:42 UTC
README
基于SMB4PHP的分支
需求
smbclient 应已安装(在 Ubuntu 上使用 sudo apt-get install smbclient
进行安装)
安装
将以下内容添加到您的 composer.json 文件中
{ "require": { "munkie/samba": "~1.0" }, }
使用
注册 samba 流封装器
\Samba\SambaStreamWrapper::register();
您可以使用此调用检查封装器是否已注册
\Samba\SambaStreamWrapper::is_registered();