⚠️ this is a sub-split, for pull requests and issues, visit: https://github.com/thephpleague/flysystem
composer require wgr/flysystem-infomaniak// 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