2017 © Pedro Peláez
 

library xmpphp

Jabber Library For Sending Jabber Messages

image

tyrola/xmpphp

Jabber Library For Sending Jabber Messages

  • Friday, January 12, 2018
  • by BirknerAlex
  • Repository
  • 4 Watchers
  • 21 Stars
  • 11,853 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 80 Forks
  • 1 Open issues
  • 3 Versions
  • 4 % Grown

The README.md

Getting Started With XMPPHP

XMPPHP is a fork of svn://netflint.net/xmpphp. This is an elegant PHP library for XMPP (aka Jabber, Google Talk, etc)., (*1)

Author: Nathan Fritz, jabber id: fritzy [at] netflint.net Co-Author: Stephan Wentz, jabber id: stephan [at] wentz.it Maintainer of this fork: Alexander Birkner , (*2)

Prerequisites

  • PHP 5.3.2 or newer
  • SSL Support Compiled

Installation

Installation is a quick and easy 2 steps process:, (*3)

  1. Install XMPPHP
  2. Use it

Step 1: Install XMPPHP

The preferred way to install this bundle is to rely on Composer. Just check on Packagist the version you want to install (in the following example, we used "2.0-dev") and add it to your composer.json:, (*4)

``` js { "require": { // ... "tyrola/xmpphp": "2.0-dev" } }, (*5)


### Step 2: Use it This sample shows how to send a Jabber message to a user. ``` php <?php require_once './vendor/autoload.php'; $XMPP = new \BirknerAlex\XMPPHP\XMPP('jabber.domain.com', 5222, 'firstname.lastname', 'MySecretPassword', 'PHP'); $XMPP->connect(); $XMPP->processUntil('session_start', 10); $XMPP->presence(); $XMPP->message('target.user@jabber.domain.com', 'Hello, how are you?', 'chat'); $XMPP->disconnect();

Please feel free to add more samples to this Github Repository., (*6)

TODO

  • MUC Support

License Exception

Please contact Nathan Fritz for library exceptions if you would like to distribute XMPPHP with a non-GPL compatible license., (*7)

The Versions

12/01 2018

dev-master

9999999-dev https://github.com/BirknerAlex/XMPPHP

Jabber Library For Sending Jabber Messages

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.3.2

 

by Avatar BirknerAlex

xmpp jabber xmpphp

16/01 2015

v2.0

2.0.0.0 https://github.com/BirknerAlex/XMPPHP

Jabber Library For Sending Jabber Messages

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.3.2

 

by Avatar BirknerAlex

xmpp jabber xmpphp

07/01 2014

v1.0

1.0.0.0 https://github.com/BirknerAlex/xmpphp

Jabber Library For Sending Jabber Messages

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.3.2

 

by Avatar BirknerAlex

xmpp jabber xmpphp