2017 © Pedro Peláez
 

library php-ejabberd

Ejabberd Client Library for chat apps

image

cloudadic/php-ejabberd

Ejabberd Client Library for chat apps

  • Friday, June 30, 2017
  • by miradnan
  • Repository
  • 6 Watchers
  • 1 Stars
  • 166 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 30 % Grown

The README.md

PHP Client for Ejabberd

PHP Ejabberd Client to communicate with XMPP Client, (*1)

Installation

composer require cloudadic/php-ejabberd

Usage

<?php

require __DIR__ . '/vendor/autoload.php';

use Ejabberd\Client;

$client = Client([
  'port' => 5285,
  'host' => '192.178.12.1',
  'apiEndPoint' => 'your_endpoint'
]);


Examples


// Add User $user = 'john@doe.com'; $client->addUser($user); // Ban Account $user = 'john@doe.com'; $reason = 'Acting too smart'; $client->banAccount($user, $reason);

The Versions

30/06 2017

dev-master

9999999-dev

Ejabberd Client Library for chat apps

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • ext-mbstring *
  • ext-mcrypt *
  • php >=5.6.0

 

The Development Requires

by Prashant Bhardwaj

30/06 2017

1.0.4

1.0.4.0

Ejabberd Client Library for chat apps

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • ext-mbstring *
  • ext-mcrypt *
  • php >=5.6.0

 

The Development Requires

by Prashant Bhardwaj

29/06 2017

1.0.3

1.0.3.0

Ejabberd Client Library for chat apps

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • ext-mbstring *
  • ext-mcrypt *
  • php >=5.6.0

 

The Development Requires

by Prashant Bhardwaj

27/06 2017

1.0.1

1.0.1.0

Ejabberd Client Library for chat apps

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • ext-mbstring *
  • ext-mcrypt *
  • php >=5.6.0

 

The Development Requires

by Prashant Bhardwaj

27/06 2017

1.0.0

1.0.0.0

Ejabberd Client Library for chat apps

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • ext-mbstring *
  • ext-mcrypt *
  • php >=5.6.0

 

The Development Requires

by Prashant Bhardwaj