Skip to content

Commit d53f3d5

Browse files
committed
Added Azure filesystem section to README.md
1 parent 3c9489c commit d53f3d5

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,46 @@ return [
122122
];
123123
```
124124

125+
### Azure filesystem
126+
127+
Add the following to the `repositories` section of your `composer.json`
128+
129+
```
130+
{
131+
"type": "pear",
132+
"url": "http://pear.php.net"
133+
}
134+
```
135+
136+
Either run
137+
138+
```bash
139+
$ composer require league/flysystem-azure
140+
```
141+
142+
or add
143+
144+
```
145+
"league/flysystem-azure": "~1.0"
146+
```
147+
148+
to the `require` section of your `composer.json` file and configure application `components` as follows
149+
150+
```php
151+
return [
152+
//...
153+
'components' => [
154+
//...
155+
'azureFs' => [
156+
'class' => 'creocoder\flysystem\AzureFilesystem',
157+
'accountName' => 'your-account-name',
158+
'accountKey' => 'your-account-key',
159+
'container' => 'your-container',
160+
],
161+
],
162+
];
163+
```
164+
125165
### Copy filesystem
126166

127167
Either run

0 commit comments

Comments
 (0)