Skip to content

Commit 023ff0b

Browse files
authored
Merge pull request #79026 from mike-urnun-msft/patch-66
resolves #32318
2 parents a3a558e + 0e90d98 commit 023ff0b

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

articles/service-bus-messaging/service-bus-php-how-to-use-topics-subscriptions.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,23 @@ The only requirement for creating a PHP application that accesses the Azure Blob
4747
This article describes how to use service features that can be called within a PHP application locally, or in code running within an Azure web role, worker role, or website.
4848

4949
## Get the Azure client libraries
50-
[!INCLUDE [get-client-libraries](../../includes/get-client-libraries.md)]
50+
51+
### Install via Composer
52+
1. Create a file named **composer.json** in the root of your project and add the following code to it:
53+
54+
```json
55+
{
56+
"require": {
57+
"microsoft/windowsazure": "*"
58+
}
59+
}
60+
```
61+
2. Download **[composer.phar][composer-phar]** in your project root.
62+
3. Open a command prompt and execute the following command in your project root
63+
64+
```
65+
php composer.phar install
66+
```
5167

5268
## Configure your application to use Service Bus
5369
To use the Service Bus APIs:
@@ -63,7 +79,7 @@ The following example shows how to include the autoloader file and reference the
6379
>
6480

6581
```php
66-
require_once 'vendor\autoload.php';
82+
require_once 'vendor/autoload.php';
6783
use WindowsAzure\Common\ServicesBuilder;
6884
```
6985

0 commit comments

Comments
 (0)