noorisys / agora
There is no license information available for the latest version (2.0.1) of this package.
Laravel Agora Token Generation using willywes agora sdk
2.0.1
2023-03-23 07:55 UTC
Requires
- php: ^8.0.2
- guzzlehttp/guzzle: ^7.2
- willywes/agora-sdk-php: ^0.1.3
This package is auto-updated.
Last update: 2025-02-24 11:22:45 UTC
README
Installation
Require this package, with Composer, in the root directory of your project.
$ composer require noorisys/agora
Add the service provider to config/app.php
in the providers
array.
Noorisys\Agora\Providers\AgoraServiceProvider::class,
Configuration
Laravel Agora requires connection configuration. To get started, you'll need to publish all vendor assets:
$ php artisan vendor:publish --provider="Noorisys\Agora\Providers\AgoraServiceProvider"
This will create a config/agora.php
file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases.
You are free to change the configuration file as needed, but the default expected values are below:
'AGORA_APP_ID' => env('AGORA_APP_ID'), 'AGORA_APP_CERTIFICATE' => env('AGORA_APP_CERTIFICATE'),
Run APIs on Postman
import postman collection via link and run APIs
https://api.postman.com/collections/18476697-81f4d51c-8779-4fcb-92f6-45fba7714cda?access_key=PMAT-01GW73S1B84WRF79TGNTWVW8KV