Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
emprove committed Dec 23, 2020
1 parent bb55847 commit 29f2a0d
Show file tree
Hide file tree
Showing 10 changed files with 557 additions and 556 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Open your config/app.php and add the following to the providers array:
```php
'providers' => [
// ...
LaraComponents\Centrifuge\CentrifugeServiceProvider::class,
Emprove\Centrifugo\CentrifugoServiceProvider::class,

// And uncomment BroadcastServiceProvider
App\Providers\BroadcastServiceProvider::class,
Expand Down Expand Up @@ -80,11 +80,11 @@ A simple example of using the client:

namespace App\Http\Controllers;

use LaraComponents\Centrifuge\Centrifuge;
use Emprove\Centrifugo\Contracts\Centrifugo;

class ExampleController extends Controller
{
public function home(Centrifuge $centrifuge)
public function home(Centrifugo $centrifuge)
{
// Send message into channel
$centrifuge->publish('channel-name', [
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "emprove/centrifuge-broadcaster",
"type": "library",
"description": "Centrifuge broadcaster for laravel >= 5.7",
"description": "Centrifuge broadcaster for laravel ^6",
"keywords": ["laravel", "centrifuge", "centrifugo", "broadcaster"],
"license": "MIT",
"authors": [
Expand All @@ -16,22 +16,22 @@
"source": "https://github.com/emprove/centrifuge-broadcaster"
},
"require": {
"php": "^7.1.3",
"illuminate/broadcasting": "^5.8|^6.0",
"php": "^7.2",
"illuminate/broadcasting": "^6.0",
"guzzlehttp/guzzle": "^6.3.3",
"lcobucci/jwt": "^3.2"
"lcobucci/jwt": "3.4.*"
},
"require-dev": {},
"autoload": {
"psr-4": {
"LaraComponents\\Centrifuge\\": "src/"
"Emprove\\Centrifugo\\": "src/"
}
},
"autoload-dev": {},
"extra": {
"laravel": {
"providers": [
"LaraComponents\\Centrifuge\\CentrifugeServiceProvider"
"Emprove\\Centrifugo\\CentrifugoServiceProvider"
]
}
},
Expand Down
282 changes: 0 additions & 282 deletions src/Centrifuge.php

This file was deleted.

Loading

0 comments on commit 29f2a0d

Please sign in to comment.