PHPackages                             idutch/crossbarhttpbridge - 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. [API Development](/categories/api)
4. /
5. idutch/crossbarhttpbridge

ActiveLibrary[API Development](/categories/api)

idutch/crossbarhttpbridge
=========================

A Laravel library for publishing events and calling remote procedures through Crossbar's HTTP-Bridge

210PHP

Since Jan 25Pushed 2y ago2 watchersCompare

[ Source](https://github.com/iDutch/crossbarhttpbridge)[ Packagist](https://packagist.org/packages/idutch/crossbarhttpbridge)[ RSS](/packages/idutch-crossbarhttpbridge/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

CrossbarHttpBridge
==================

[](#crossbarhttpbridge)

Crossbar HTTP Bridge service for Laravel

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

[](#installation)

1. Run these commands

```
composer require idutch/crossbarhttpbridge
php artisan vendor:publish
```

2. Add the following to your .env file

```
CROSSBAR_HTTP_BRIDGE_URI=https://your.crossbar.service:443
CROSSBAR_HTTP_BRIDGE_VERIFY_SSL=true or false
CROSSBAR_HTTP_BRIDGE_PUBLISH_PATH=/publish
CROSSBAR_HTTP_BRIDGE_CALL_PATH=/call

```

3. If you've configured your crossbar server only to accept signed requests then also add the following to your .env file

```
CROSSBAR_HTTP_BRIDGE_PUBLISHER_KEY=your_publisher_key
CROSSBAR_HTTP_BRIDGE_PUBLISHER_SECRET=your_publisher_secret
CROSSBAR_HTTP_BRIDGE_CALLER_KEY=your_caller_key
CROSSBAR_HTTP_BRIDGE_CALLER_SECRET=your_caller_secret

```

Example
-------

[](#example)

```
