定制 piesocket/piesocket-php 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

piesocket/piesocket-php

最新稳定版本:v1.1.1

Composer 安装命令:

composer require piesocket/piesocket-php

包简介

PieSocket PHP REST Client

README 文档

README

PieSocket PHP REST client

Configure

Skip to installation

Laravel

Quick start

Use the starter project: piesocket/laravel-broadcasting-starter

Manual

In composer.json add the following post-autoload-dump script at the top.

\\PieSocket\\Integrations\\Installer::setupLaravel

Example:

"scripts": {
    "post-autoload-dump": [
        "\\PieSocket\\Integrations\\Installer::setupLaravel",
        "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
        "@php artisan package:discover --ansi"
    ]

Add PieSocket driver in connections array of config\broadcasting.php alongside pusher configuration.

'piesocket' => [
  'driver' => 'piesocket',
  'key' => env('PIESOCKET_API_KEY'),
  'secret' => env('PIESOCKET_API_SECRET'),
  'cluster_id' => env('PIESOCKET_CLUSTER_ID'),
]

Documentation: Laravel Broadcasting with PieSocket

Installation

Make sure you have completed the configuration for your integration (optional).

composer require piesocket/piesocket-php

统计信息

  • 总下载量: 312
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-10-06