2017 © Pedro Peláez
 

library broadsoft

image

jvleeuwen/broadsoft

  • Friday, July 7, 2017
  • by jvleeuwen
  • Repository
  • 2 Watchers
  • 1 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 7 % Grown

The README.md

Broadsoft package

Broadsoft package for laravel 5.4, (*1)

To install this package use:

composer require jvleeuwen/broadsoft

* This installs the latest development release and is not ready for production usage !, (*2)

Add the serviceProvider to your config/app.php, and enable the BroadcastServiceProvider, (*3)

jvleeuwen\broadsoft\BroadsoftServiceProvider::class,
App\Providers\BroadcastServiceProvider::class,

Configure laravel-mix

Add this line to webpack.mix.js in the root folder just below the first .js entry, (*4)

.js('resources/assets/js/broadsoft.js', 'public/js')

Install NPM tools required for laravel-mix

npm install && npm install --save laravel-echo pusher-js && npm run dev

Enter pusher details in the .env file

First u need to create an app on pusher.com\ After creating he app the needed credentials shown below will be available\ Dont forget to set the BROADCAST_DRIVER= to 'pusher', (*5)

BROADCAST_DRIVER=pusher
PUSHER_APP_ID=app_id
PUSHER_APP_KEY=app_key
PUSHER_APP_SECRET=app_secret

Enable laravel-echo with pusher

Edit the resource/assets/js/bootstrap.js file\ from:, (*6)

// import Echo from 'laravel-echo'

// window.Pusher = require('pusher-js');

// window.Echo = new Echo({
//     broadcaster: 'pusher',
//     key: 'your-pusher-key'
// });

to:, (*7)

import Echo from 'laravel-echo'

window.Pusher = require('pusher-js');

window.Echo = new Echo({
    broadcaster: 'pusher',
    key: 'enter-the-pusher-app-key-here',
    cluster: 'eu',
    encrypted: true

});

README.md

This file will continue to grow with features developt and implemented., (*8)

The Versions

07/07 2017

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jelle van Leeuwen

laravel intergration broadsoft jellevl jvleeuwen routit xsi callcenter

19/05 2017

0.0.2

0.0.2.0 https://github.com/jellevl

Laravel Broadsoft intergration

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jelle van Leeuwen

laravel intergration broadsoft jellevl jvleeuwen routit xsi callcenter

19/05 2017

0.0.1

0.0.1.0 https://github.com/jellevl

Laravel Broadsoft intergration

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jelle van Leeuwen

laravel intergration broadsoft jellevl jvleeuwen routit xsi callcenter