wgr / flysystem-infomaniak
flysystem for infomaniak
Installs: 40
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/wgr/flysystem-infomaniak
Requires
- php: >=7.1
- league/flysystem: ^3.0
- league/flysystem-webdav: ^3.0
- php-opencloud/openstack: ^3.2
Requires (Dev)
README
⚠️ this is a sub-split, for pull requests and issues, visit: https://github.com/thephpleague/flysystem
composer require wgr/flysystem-infomaniak
Public Cloud
// CONFIG $osClient = new \Wgr\Flysystem\Infomaniak\Http\OpenStackClient\OpenStackClient([ 'authUrl' => 'https://api.pub1.infomaniak.cloud/identity/v3', 'region' => 'dc3-a', 'application_credential' => [ 'id' => 'XXXX', 'secret' => "XXX", ], 'scope' => ['project' => ['id' => 'XXX']] ]); // SETUP $adapter = new \Wgr\Flysystem\Infomaniak\Adapter\OpenStack($osClient,'my-container','myFolder'); $filesystem = new \League\Flysystem\Filesystem($adapter); // USAGE $filesystem->write($path, $contents);
more doc is coming bro