PHP code example of aobozhang / easemob-facades
1. Go to this page and download the library: Download aobozhang/easemob-facades 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/ */
aobozhang / easemob-facades example snippets
return = [
...,
'providers' = [
...,
Aobo\Easemob\EasemobServiceProvider::class,
],
];
use Easemob;
...
$options = [
'username' => 'test_username',
'password' => 'test_password'
];
return Easemob::accreditRegister($options);
php artisan vendor:publish