2017 © Pedro Peláez
 

library easemob-facades

used Easemob as laravel facades

image

aobozhang/easemob-facades

used Easemob as laravel facades

  • Tuesday, February 16, 2016
  • by Aobo
  • Repository
  • 2 Watchers
  • 2 Stars
  • 67 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

easemob-facades for laravel

used Easemob as Normal laravel facades, (*1)

Latest Stable Version Total Downloads Latest Unstable Version License, (*2)

Installation

  • First:
composer require aobozhang/easemob-facades
  • Second:

Modify "config\app.php", (*3)

<?php

    return = [

        ...,

        'providers' = [

            ...,

            Aobo\Easemob\EasemobServiceProvider::class,

        ],
    ];

  • Third:
php artisan vendor:publish

Till now, you can use it
Test Account Supply by http://github/easemob/, (*4)

Usage

use Easemob;

...

$options = [
    'username' => 'test_username',
    'password' => 'test_password'
];

return Easemob::accreditRegister($options);

To Use Your Own Configuration

Modify ".env" -- recommend, (*5)

EASEMOB_ORG_NAME=YourOrgName
EASEMOB_APP_NAME=YourAppName
EASEMOB_CLIENT_ID=YourClientID
EASEMOB_CLIENT_SECRET=YourClientSecret

Or You Can Modify "config\easemob.php" -- The Same effect., (*6)

return [
    'org_name'      => env('EASEMOB_ORG_NAME', 'easemob-playground'),
    'app_name'      => env('EASEMOB_APP_NAME', 'test1'),
    'client_id'     => env('EASEMOB_CLIENT_ID', 'YXA6wDs-MARqEeSO0VcBzaqg5A'),
    'client_secret' => env('EASEMOB_CLIENT_SECRET', 'YXA6JOMWlLap_YbI_ucz77j-4-mI0JA'),
];

The Versions

16/02 2016

dev-master

9999999-dev https://github.com/aobozhang

used Easemob as laravel facades

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

laravel facades easemob

06/01 2016

dev-401recall

dev-401recall https://github.com/aobozhang

used Easemob as laravel facades

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

laravel facades easemob

01/01 2016

1.0.x-dev

1.0.9999999.9999999-dev https://github.com/aobozhang

used Easemob as laravel facades

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

laravel facades easemob

01/01 2016

1.0.5

1.0.5.0 https://github.com/aobozhang

used Easemob as laravel facades

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

laravel facades easemob

01/01 2016

1.0.4

1.0.4.0 https://github.com/aobozhang

used Easemob as laravel facades

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

laravel facades easemob

30/12 2015

1.0.3

1.0.3.0 https://github.com/aobozhang

used Easemob as laravel facades

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

laravel facades easemob