Skip to content
These samples demonstrate how to use the Microsoft Azure Blob Service with the PHP client libraries
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CONTRIBUTING.md
HelloWorld.png basic and advanced samples Aug 25, 2016
LICENSE
PageContent.txt
README.md add link to previous repo Aug 25, 2016
blob_advanced.php basic and advanced samples Aug 25, 2016
blob_basic.php basic and advanced samples Aug 25, 2016
composer.json basic and advanced samples Aug 25, 2016
config.php
main.php
random_string.php basic and advanced samples Aug 25, 2016

README.md

services platforms author
storage
php
woodp

Azure Storage: Getting Started with Azure Storage in PHP

Samples documenting basic operations with Azure Blob storage services in PHP.

Note: If you are looking for the web app sample that was previously in this repository you can find it here

Running this sample

This sample can be run using either the Azure Storage Emulator (Windows) or by using your Azure Storage account name and key. Please update the config.php file with the appropriate properties.

To run the sample using the Storage Emulator:

  1. Download and install the Azure Storage Emulator https://azure.microsoft.com/en-us/downloads/
  2. Start the emulator (once only) by pressing the Start button or the Windows key and searching for it by typing "Azure Storage Emulator". Select it from the list of applications to start it.
  3. Run the project.

To run the sample using the Storage Service

  1. Open the config.rb file and set the config setting IS_EMULATED to false. Also configure the settings ACCOUNT_NAME and ACCOUNT_KEY with the account name and account key from your subscription. See https://azure.microsoft.com/en-us/documentation/articles/storage-create-storage-account/ for more information 3.Set breakpoints and run the project.

Deploy this sample

Either fork the sample to a local folder or download the zip file from https://github.com/Azure-Samples/storage-blob-php-getting-started/

To get the source code of the SDK via git, type: git clone git://github.com/Azure-Samples/storage-blob-php-getting-started.git cd .\storage-blob-php-getting-started

##Minimum Requirements PHP 5.5 or above To install PHP, please go to http://php.net/

More information

You can’t perform that action at this time.