Fork of SMB4PHP
smbclient should be installed (use sudo apt-get install smbclient
on ubuntu)
Add following to your composer.json file:
{
"require": {
"munkie/samba": "~1.0"
},
}
Register samba stream wrapper:
\Samba\SambaStreamWrapper::register();
You can check if wrapper is already registered using this call:
\Samba\SambaStreamWrapper::is_registered();