Download the PHP package steadfastcollective/laravel-dailyco without Composer
On this page you can find all versions of the php package steadfastcollective/laravel-dailyco. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download steadfastcollective/laravel-dailyco
More information about steadfastcollective/laravel-dailyco
Files in steadfastcollective/laravel-dailyco
Package laravel-dailyco
Short Description Laravel SDK for Daily.co's REST API
License
Informations about the package laravel-dailyco
Laravel Daily.co SDK
This package is an unofficial SDK for Daily.co's REST API.
Installation
- Install with Composer
composer require steadfastcollective/laravel-dailyco
- Publish configuration file with
php artisan vendor:publish
-
Add your Daily API key to your
.env
- You should now be able to perform API requests using the SDK! Follow the usage guide.
Usage
To make API requests with this package, you can either use the Facade, which we would recommend, or you could just manually new up the SteadfastCollective\LaravelDailyco\Daily
class and call the methods from there.
All of our below examples use the Facade.
Rooms
Get rooms
Create room
Get room
Update room
Delete room room
Meeting tokens
Create meeting token
Get meeting token
Recordings
Get recordings
Get a recording
Delete a recording
Get recording access link
Get recording download link
Create recording composite recipe
Get recording composites
Logs
Get logs
Meeting Analytics
Retrieve meeting analytics
Presence
Active participants
Handling errors
This package will throw an exception whenever a non 200 response is returned from Daily's API. The full list of exceptions is provided below.
Status Code | Exception |
---|---|
400 (Bad Request) | SteadfastCollective\LaravelDailyco\Exceptions\BadRequestException |
401 (Unauthorized) | SteadfastCollective\LaravelDailyco\Exceptions\UnauthorizedException |
404 (Not Found) | SteadfastCollective\LaravelDailyco\Exceptions\NotFoundException |
429 (Too Many Requests) | SteadfastCollective\LaravelDailyco\Exceptions\TooManyRequestsException |
5xx (Server Errors) | SteadfastCollective\LaravelDailyco\Exceptions\ServerErrorException |
Security
If you find any security vulnerabilities in this package, please directly email [email protected], rather than using the issue tracker.