PHP code example of minawilliam / zoom-api

1. Go to this page and download the library: Download minawilliam/zoom-api library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

minawilliam / zoom-api example snippets

 php
MinaWilliam\Zoom\Providers\ZoomServiceProvider::class
bash
php artisan vendor:publish --provider="MinaWilliam\Zoom\Providers\ZoomServiceProvider"
 php
$zoom = new \MinaWilliam\Zoom\Zoom();
$meetings = $zoom->meetings->list('zoomUserId');
$webinars = $zoom->webinars->list('zoomUserId');
 php
$zoom = new \MinaWilliam\Zoom\Zoom();
$users = $zoom->users->list();
 php
$user = $zoom->users->create([
    'name' => 'Test Name',
    'first_name' => 'First Name',
    'last_name' => 'Last Name',
    'email' => '[email protected]',
    'password' => 'secret',
    'type' => 1
]);
    
$webinar = $zoom->webinars->create('zoomUserId', [
    'topic' => 'string',
    'agenda' => 'string',
    'type' => 'integer', // 5 - Webinar, 6 - Recurring webinar with no fixed time, 9 - Recurring webinar with a fixed time.
    'start_time' => $start_at->toDateTimeLocalString(), // Webinar start time in GMT/UTC.
    'timezone' => $start_at->tzName, // webinar timezone
    'duration' => 'integer' // duration in minutes,
    'password' => 'string' // zoom webinar password,
]);