PHPackages                             revealit/laravel-azure-sdk - 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. revealit/laravel-azure-sdk

ActiveLibrary

revealit/laravel-azure-sdk
==========================

A PHP Laravel wrapper for the Microsoft Azure REST API

1.0.4(2y ago)54891MITPHPPHP ^8.1

Since May 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/RainerHietsch/laravel-azure-sdk)[ Packagist](https://packagist.org/packages/revealit/laravel-azure-sdk)[ Docs](https://github.com/revealit/laravel-azure-sdk)[ RSS](/packages/revealit-laravel-azure-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (5)Used By (0)

A PHP Laravel wrapper for the Microsoft Azure REST API
======================================================

[](#a-php-laravel-wrapper-for-the-microsoft-azure-rest-api)

[![Latest Version on Packagist](https://camo.githubusercontent.com/feb36aa29a97807286f7c45f5417e733bb3099283cea60fabb1f5e0d92c36840/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72657665616c69742f6c61726176656c2d617a7572652d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/revealit/laravel-azure-sdk)[![GitHub Tests Action Status](https://camo.githubusercontent.com/5cae54cbefb0d11bcca6a5f9f275f542ccbec1ff71fea78daa3745696df38854/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f72657665616c69742f6c61726176656c2d617a7572652d73646b2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/revealit/laravel-azure-sdk/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/981c1ae63ad61d3027de096abfc5da24a6ff3f58d950f8e7a3da69b863dd0a14/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f72657665616c69742f6c61726176656c2d617a7572652d73646b2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/revealit/laravel-azure-sdk/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/7fa6bfa70773af0d091c59cbc7c27004c7deb404ede9e0085ed74e178f662b6c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72657665616c69742f6c61726176656c2d617a7572652d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/revealit/laravel-azure-sdk)

This package aims to wrap the Azure REST API.

At the moment, the following is supported:

### Service Bus

[](#service-bus)

- Push messages into a queue

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require revealit/laravel-azure-sdk
```

You can publish the config file with:

```
php artisan vendor:publish
```

and then entering the number of the ServiceProvider

This is the contents of the published config file:

```
return [

    /*
     * The Application (client) ID
     */
    "client_id" => "",

    /*
     * Directory (tenant) ID
     */
    "tenant_id" => "",

    /*
     * The apps secret value. This value is only visible immediately after creation,
     * so be sure to note it down.
     */
    "client_secret_value" => ""

    /*
     * The default service bus to use.
     */
    "default_service_bus_namespace" => ""

];
```

Usage
-----

[](#usage)

Edit `azure-sdk.php` in the Laravel `config` folder, and enter your Apps keys and secret.

```
use Revealit\AzureSdk\Facades\AzureSdk;

// Define an array
$message = [
    "title" => "Hello World!"
];

// Send a message to a queue
return AzureSdk::pushToQueue("test_queue", $message)->status();
```

This will generate a token and send a message to the queue specified in the first parameter.

You can also send a message to a different service bus:

```
use Revealit\AzureSdk\Facades\AzureSdk;

// Send a message to a queue in a different service bus
return AzureSdk::pushToQueue("test_queue", ["msg" => "Hello World!"], "different_service_bus")->status();
```

If you want to send multiple messages, you can generate a token first and pass it in as an optional forth parameter:

```
use Revealit\AzureSdk\Facades\AzureSdk;

$token = AzureSdk::getAPIToken();
$serviceBus = config("azure-sdk.default_service_bus_namespace");
$message1 = ["url" => "https:www.github.com"];

// Send messages to different queues using the same token
AzureSdk::pushToQueue("test_queue", $message1, $serviceBus, $token)->status();
AzureSdk::pushToQueue("test_queue_2", ["title" => "Azure SDK"], $serviceBus, $token)->status();
```

Credits
-------

[](#credits)

- [Rainer Hietsch](https://github.com/rainerhietsch)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

1077d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a7e2c6b5e5463b574a78862d2b259be4d712d768f8afa20842604d2fb84faeb9?d=identicon)[RainerHietsch](/maintainers/RainerHietsch)

---

Top Contributors

[![RainerHietsch](https://avatars.githubusercontent.com/u/20116996?v=4)](https://github.com/RainerHietsch "RainerHietsch (10 commits)")

---

Tags

laravelrevealitlaravel-azure-sdk

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/revealit-laravel-azure-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/revealit-laravel-azure-sdk/health.svg)](https://phpackages.com/packages/revealit-laravel-azure-sdk)
```

###  Alternatives

[rtconner/laravel-likeable

Trait for Laravel Eloquent models to allow easy implementation of a 'like' or 'favorite' or 'remember' feature.

394388.0k5](/packages/rtconner-laravel-likeable)[hemp/presenter

Easy Model Presenters in Laravel

247592.6k1](/packages/hemp-presenter)[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
