承接 queents/laravel-agora 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

queents/laravel-agora

最新稳定版本:v1.0.0

Composer 安装命令:

composer require queents/laravel-agora

包简介

Agora Token Generator With easy to use Service Class

README 文档

README

Agora Token Generator With easy to use Service Class

Installation

composer require queents/laravel-agora

publish config file

php artisan vendor:publish --tag="laravel-agora-config"

go to your env and add you can find it from Project Management

AGORA_APP_ID=
AGORA_APP_CERTIFICATE=

Using

you can use the class to return your token like

Agora::make(id: 1)->uId(rand(999, 1999))->token();

it will generate Audio/Video Token as a Publisher

the channel name will be agora.USER_ID

Join To Channel

if you went to join an exists channel use this where id is the user you went to connect with

Agora::make(id: 1)->uId(rand(999, 1999))->join()->token();

Create Audio Only

if you went an audio channel only use this

Agora::make(id: 1)->uId(rand(999, 1999))->join()->audioOnly()->token();

Custom Channel

you can custom your channel name by use

Agora::make(id: 1)->uId(rand(999, 1999))->channel('custom')->token()

than your channel will be custom.USER_ID

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security

Please see SECURITY for more information about security.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固