uchup07 / laravel-zoom
This is my package laravel-zoom
Fund package maintenance!
Uchup07
Requires
- php: ^8.2
- guzzlehttp/guzzle: ^7.9
- illuminate/contracts: ^9.0||^10.0||^11.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- larastan/larastan: ^2.9
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.1.1||^7.10.0
- orchestra/testbench: ^9.0.0||^8.22.0
- pestphp/pest: ^2.34
- pestphp/pest-plugin-arch: ^2.7
- pestphp/pest-plugin-laravel: ^2.3
- phpstan/extension-installer: ^1.3
- phpstan/phpstan-deprecation-rules: ^1.1
- phpstan/phpstan-phpunit: ^1.3
README
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
Support us
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
Installation
You can install the package via composer:
composer require uchup07/laravel-zoom
You can publish the config file with:
php artisan vendor:publish --tag="laravel-zoom-config"
This is the contents of the published config file:
return [ 'client_id' => env('ZOOM_CLIENT_ID'), 'client_secret' => env('ZOOM_CLIENT_SECRET'), 'account_id' => env('ZOOM_CLIENT_ACCOUNT_ID'), 'credentials' => env('ZOOM_CLIENT_CREDENTIALS'), 'api_url' => env('ZOOM_CLIENT_API_URL','https://api.zoom.us/v2/'), ];
Usage
Create Meeting
$data = [ 'topic' => 'Title Topic', 'default_password'=>false, 'start_time' => '2024-10-31T08:06:01Z', 'duration' => 60, 'timezone' => 'Asia/Jakarta', "type"=> 2, 'settings' => [ 'host_video' => true, 'participant_video' => true, 'audio' => true, 'approval_type' => 2, 'waiting_room' => true, 'join_before_host' => true ], ]; $meeting = \Uchup07\LaravelZoom\Facades\LaravelZoom::createMeeting('userid@mail.com', $data);
Update Meeting
$data = [ 'topic' => 'Title Topic', 'default_password'=>false, 'start_time' => '2024-10-31T08:06:01Z', 'duration' => 60, 'timezone' => 'Asia/Jakarta', "type"=> 2, 'settings' => [ 'host_video' => true, 'participant_video' => true, 'audio' => true, 'approval_type' => 2, 'waiting_room' => true, 'join_before_host' => true ], ]; $meeting = \Uchup07\LaravelZoom\Facades\LaravelZoom::updateMeeting(94064237172, $data);
Delete Meeting
$meetingId = 94064237172; $meeting = \Uchup07\LaravelZoom\Facades\LaravelZoom::deleteMeeting($meetingId);
Get a Meeting
$meetingId = 94064237172; $meeting = \Uchup07\LaravelZoom\Facades\LaravelZoom::getMeeting($meetingId);
Get All Meeting By User
$userId = 'user@email.com'; $meetings = \Uchup07\LaravelZoom\Facades\LaravelZoom::listMeetings($userId);
Testing
./vendor/bin/pest
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.