Download the PHP package goavega-software/laravel-azure-servicebus without Composer

On this page you can find all versions of the php package goavega-software/laravel-azure-servicebus. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-azure-servicebus

Windows Azure Servicebus driver for Laravel

Overview

The library provides support for both Service Bus queues and topic based messaging (topics haven't been tested yet but should work). Default is Service Bus queues, for topic based messaging UseTopic should be set to true. The package should be auto discovered on Laravel > 5.6

Latest Stable Version Total Downloads License

Installation

Require this package in your composer.json:

"goavega-software/laravel-azure-servicebus": "<<version>>"

Run composer update!

After composer update is finished you need to add ServiceProvider to your providers array in app/config/app.php (this is only needed for laravel < 5.6):

'Goavega\LaravelAzureServicebusTopic\Support\Serviceprovider',

add the following to the connection array in app/config/queue.php, and fill out your own connection data from the Azure Management portal:

'azureservicebus' => array(
    'driver'       => 'azureservicebus',
    'endpoint'     => 'https://*.servicebus.windows.net',
    'SharedAccessKeyName' => '',
    'SharedAccessKey' => 'primary key',
    'queue'        => '<topic name>',
    'UseTopic' => true/false (default false)
)

Usage

The library provides support for both Service Bus queues and topic based messaging. Default is Service Bus queues, for topic based messaging UseTopic should be set to true. Once you completed the configuration you can use Laravel Queue API. If you do not know how to use Queue API, please refer to the official Laravel documentation.

From laravel Queue documentation, something like this should work:

artisan worker should be started as per Laravel's official documentation:

Azure Topic Support

There is no support (yet) of automatically creating subscriptions on the Azure Topic. A known subscription identifier is instead used for the subscription and needs to be created manually on the service bus. The identifier is 6c7dd8f3e3e145a5b9782b41d741c951

Version compatiblity

The package uses semantic versioning and tries to match Laravel versions.

Laravel 8x Support

[-Warning-] This package relies on Windows-Azure SDK for PHP which has been abandoned and hasn't had an upgrade in last 2 years. This has resulted in incompatible dependencies (especiailly with GuzzleHttp - see #2). We've decided to fork the windows-azure package and just keep pieces of Service Bus. Since the fork is still not published (there are still few unit tests that fail and have to be verified if they fail due to invalid test cases or due to broken functionality), the only way to include this package for Laravel 8.x is by usng dev-master. composer.json

Rest everything should work the same as older laravels.


All versions of laravel-azure-servicebus with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.10
illuminate/container Version >=7.0.0 <8.0.0
illuminate/support Version >=7.0.0 <8.0.0
illuminate/encryption Version >=7.0.0 <8.0.0
illuminate/queue Version >=7.0.0 <8.0.0
microsoft/windowsazure Version 0.5.7
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package goavega-software/laravel-azure-servicebus contains the following files

Loading the files please wait ....