1. Go to this page and download the library: Download abdulbaset/zoom-integration 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/ */
abdulbaset / zoom-integration example snippets
use Abdulbaset\ZoomIntegration\ZoomIntegrationService;
// Initialize the ZoomIntegrationService
$zoomService = new ZoomIntegrationService($accountId, $clientId, $clientSecret);
// Get User Information
$user = $zoomService->getUser();
// Update User
$updateData = [
'first_name' => 'John',
'last_name' => 'Doe',
'email' => '[email protected]',
];
$updatedUser = $zoomService->updateUser($userId, $updateData);
// Create User
$userData = [
'first_name' => 'Jane',
'last_name' => 'Doe',
'email' => '[email protected]',
'type' => 1, // Pro user
];
$createdUser = $zoomService->createUser($userData);
// List Users
$listUsers = $zoomService->listUsers();
// Delete User
$deletedUser = $zoomService->deleteUser($userId);