PHPackages                             azure-oss/storage-common - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. azure-oss/storage-common

ActiveLibrary[File &amp; Storage](/categories/file-storage)

azure-oss/storage-common
========================

Shared primitives for Azure Storage PHP SDK packages

2.1.1(1mo ago)0563.6k↑236.4%4MITPHPPHP ^8.2

Since Mar 1Pushed 4mo agoCompare

[ Source](https://github.com/php-oss-for-azure/azure-storage-common-php)[ Packagist](https://packagist.org/packages/azure-oss/storage-common)[ RSS](/packages/azure-oss-storage-common/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (4)Dependencies (6)Versions (7)Used By (4)

Azure Storage Common PHP
========================

[](#azure-storage-common-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/bd18e6ccf7dd55523957b47ec0cb0db32e1cac513165920b82e53c0027c8365b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617a7572652d6f73732f73746f726167652d636f6d6d6f6e2e737667)](https://packagist.org/packages/azure-oss/storage-common)[![Packagist Downloads](https://camo.githubusercontent.com/d05ab9c8f5a617835c3367fd80a4f0991a2a1fae812429ec9cf549607ce4221b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617a7572652d6f73732f73746f726167652d636f6d6d6f6e)](https://packagist.org/packages/azure-oss/storage-common)

Shared authentication, HTTP pipeline, API version, ETag, and SAS primitives used by the Azure Storage PHP SDK packages.

Important

This package is community-maintained and is not affiliated with, endorsed by, or supported by Microsoft.

Install
-------

[](#install)

```
composer require azure-oss/storage-common
```

When to use this package
------------------------

[](#when-to-use-this-package)

Most applications should install a top-level client package such as `azure-oss/storage-blob` or `azure-oss/storage-queue`.

Install `azure-oss/storage-common` directly when you need low-level storage building blocks such as:

- `StorageSharedKeyCredential`
- `AccountSasBuilder`
- `ApiVersion`
- `HttpClientOptions`
- shared middleware and connection string helpers

Quickstart
----------

[](#quickstart)

Generate an account SAS token:

```
