colanmycipl / tpvintegration
Integrate twilio programmable video with new features in laravel
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Language:SCSS
pkg:composer/colanmycipl/tpvintegration
Requires
- twilio/sdk: ^6.4
This package is auto-updated.
Last update: 2025-12-29 03:27:06 UTC
README
Integrate Twilio Programmable video with added features in laravel 5.8
Installing via Composer
The recommended way is to install the php-cron-scheduler is through Composer. Please refer to Getting Started on how to download and install Composer.
After you have downloaded/installed Composer, run in your project
composer require colanmycipl/tpvintegration
-
other installations- after adding the package need to run laravel commands. -
php artisan vendor:publish -
php artisan migrate
Add following line in config/app.php
ColanMYCIPL\TPVintegration\TPVintegrationServiceProvider::class,
Following credentials are need to be add in .env file of root path
AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_DEFAULT_REGION= AWS_BUCKET= AWS_IAM_USER_KEY_ID= AWS_IAM_USER_SECRET_ACCESS_KEY=
TWILIO_ACCOUNT_SID= TWILIO_AUTH_TOKEN= TWILIO_API_KEY= TWILIO_API_SECRET= TWILIO_SYNC_SERVICE_SID= TWILIO_FROM_NUMBER=
How it works
There are api's you can use it for
Create RoomJoin RoomCreate Composition for indivdual participants and group roomUpdate composition statusPreview RecordingDownload recording of room/participant in zip fileMoving recording to s3
Join Room
Required parameters for Teacher(GET method)
/teacher/join/twilioroom/{id}/{username}/{classname}
1)Roomname
2)Username
3)Classname
Required parameters for student(GET method)
/teacher/join/twilioroom/{id}/{username}/{studentid}
1)Roomname
2)Username
3)Studentid
Scheduling jobs
Sample file will be available in app/Jobs/twilioCompositionStatusUpdate Need to change as per your requirement. Separate api's available for updating and creation composition.