thephpleague / Flysystem Azure
Licence: mit
Flysystem adapter for the Windows Azure.
Stars: ✭ 33
League\Flysystem\Azure [BETA]
This is a Flysystem adapter for the Windows Azure.
First ensure the pear repository is added to you composer.json
file.
"repositories": [
{
"type": "pear",
"url": "http://pear.php.net"
}
],
Then install the latest version of the adapter using:
composer require league/flysystem-azure
Bootstrap
<?php
use MicrosoftAzure\Storage\Common\ServicesBuilder;
use League\Flysystem\Filesystem;
use League\Flysystem\Azure\AzureAdapter;
$endpoint = sprintf('DefaultEndpointsProtocol=https;AccountName=%s;AccountKey=%s', 'account-name', 'api-key');
$blobRestProxy = ServicesBuilder::getInstance()->createBlobService($endpoint);
$filesystem = new Filesystem(new AzureAdapter($blobRestProxy, 'my-container'));
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].