承接 vaporic/laravel-zoom 相关项目开发

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

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

vaporic/laravel-zoom

Composer 安装命令:

composer require vaporic/laravel-zoom

包简介

Laravel Zoom package

README 文档

README

Latest Version on Packagist Build Status StyleCI Total Downloads

Package to manage the Zoom API in Laravel

Installation

You can install the package via composer:

composer require vaporic/laravel-zoom

The service provider should automatically register for For Laravel > 5.4.

For Laravel < 5.5, open config/app.php and, within the providers array, append:

vaporic\Zoom\Providers\ZoomServiceProvider::class

Configuration file

Publish the configuration file

php artisan vendor:publish --provider="vaporic\Zoom\Providers\ZoomServiceProvider"

This will create a zoom/config.php within your config directory, where you add value for api_key and api_secret.

Usage

Everything has been setup to be similar to Laravel syntax.

Unfortunately the Zoom API is not very uniform and is a bit all over the place, so at the minute there are a number of hacks to be able to get this to work. We will refactor and improve this.

We use relationships so you will need to check the Zoom API, for example to get a list of meetings or webinars you need to pass in a user id. WE use a little bit of relationship magic to acheive this in a more laravel type way.

So to get a list of meetings

	$zoom = new \vaporic\Zoom\Zoom;
	$meetings = $zoom->user->find('test@domain.com')->meetings()->all();

Find all

The find all function returns a Laravel Collection so you can use all the Laravel Collection magic

	$zoom = new \vaporic\Zoom\Zoom;
	$users = $zoom->user->all();

Filtered

There are very few ocassions in the API where you can filter the results, but where you can you can use the where function. Again check the API documentation for where you can add a query to the request. To action you would do like so

    $zoom = new \vaporic\Zoom\Zoom;
    $thing = $zoom->thing->where('Name', '=', 'Test Name')->get();

You can also just passs the name and value if it is to equal

    $zoom = new \vaporic\Zoom\Zoom;
    $thing = $zoom->thing->where('Name', 'Test Name')->get();

To only get a single item use the 'first' method

    $zoom = new \vaporic\Zoom\Zoom;
    $thing = $zoom->thing->where('Name', 'Test Name')->first();

Find by ID

Just like Laravel we can use the 'find' method to return a single matched result on the ID. For users/registrants/panelists you can also use the email as well as the ID.

	$zoom = new \vaporic\Zoom\Zoom;
	$meeting = $zoom->meeting->find('000000000');

Creating Items

We can create and update records using the save function, below is the full save script for a creation.

	$user = $zoom->user->create([
        'name' => 'Test Name',
        'first_name' => 'First Name',
        'last_name' => 'Last Name',
        'email' => 'test@test.com',
        'password' => 'secret',
        'type' => 1
    ]);
    $meeting = $user->meetings()->create([
    	'type' => '2',
    	'start_time' => '2019-06-29T20:00:00Z'
    ]);
    $registrant = $meeting->registrants()->create([
    	'email' => 'registratn@domain.com',
    	'first_name' => 'Test',
    	'last_name' => 'Registrant'
    ]);

There are also helper functions for adding sub objects

    $meeting = $zoom->meeting->find('000000000');
    $recurrance = $zoom->recurrance->create(['fields' => 'values']);
    $meeting->addRecurrance($recurrance);
    $meeting->save();

RESOURCES

We cover the main resources

Meetings
Panelists
Registrants
Users
Webinars

But some also have sub cresources, like

Recurrance
Occurance
Settings (for meetings and webinars)
Tracking Fields

We aim to add additional resources/sub-resources over time

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email colin@macsi.co.uk instead of using the issue tracker.

Credits

License

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

vaporic/laravel-zoom 适用场景与选型建议

vaporic/laravel-zoom 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.08k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2020 年 03 月 17 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「api」 「client」 「laravel」 「zoom」 「laravel-zoom」 「vaporic」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 vaporic/laravel-zoom 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 vaporic/laravel-zoom 我们能提供哪些服务?
定制开发 / 二次开发

基于 vaporic/laravel-zoom 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-03-17