Compare commits
2 commits
abc4e994f1
...
9dad5a4aa7
Author | SHA1 | Date | |
---|---|---|---|
|
9dad5a4aa7 | ||
|
edd8a7eb70 |
11 changed files with 34 additions and 2 deletions
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
* eol=lf
|
||||
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/vendor/
|
BIN
BOSH.php
BIN
BOSH.php
Binary file not shown.
17
composer.json
Normal file
17
composer.json
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"name": "thedevstack/php-xmpp",
|
||||
"description": "small php library to use XMPP",
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"thedevstack\\phpxmpp\\": "src/"
|
||||
}
|
||||
},
|
||||
"authors": [
|
||||
{
|
||||
"name": "steckbrief",
|
||||
"email": "steckbrief@chefmail.de"
|
||||
}
|
||||
],
|
||||
"require": {}
|
||||
}
|
|
@ -37,5 +37,7 @@
|
|||
* @copyright 2008 Nathanael C. Fritz
|
||||
* @version $Id$
|
||||
*/
|
||||
namespace thedevstack\phpxmpp;
|
||||
|
||||
class XMPPException extends \Exception {
|
||||
}
|
|
@ -37,6 +37,8 @@
|
|||
* @copyright 2008 Nathanael C. Fritz
|
||||
* @version $Id$
|
||||
*/
|
||||
namespace thedevstack\phpxmpp;
|
||||
|
||||
class Roster {
|
||||
/**
|
||||
* Roster array, handles contacts and presence. Indexed by jid.
|
||||
|
@ -155,4 +157,4 @@ class Roster {
|
|||
return $this->roster_array;
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
|
@ -37,6 +37,8 @@
|
|||
* @copyright 2008 Nathanael C. Fritz
|
||||
* @version $Id$
|
||||
*/
|
||||
namespace thedevstack\phpxmpp;
|
||||
|
||||
class XMLObj {
|
||||
/**
|
||||
* Tag name
|
||||
|
@ -150,4 +152,4 @@ class XMLObj {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -37,6 +37,8 @@
|
|||
* @copyright 2008 Nathanael C. Fritz
|
||||
* @version $Id$
|
||||
*/
|
||||
namespace thedevstack\phpxmpp;
|
||||
|
||||
class XMLStream {
|
||||
/**
|
||||
* @var resource
|
|
@ -37,6 +37,8 @@
|
|||
* @copyright 2008 Nathanael C. Fritz
|
||||
* @version $Id$
|
||||
*/
|
||||
namespace thedevstack\phpxmpp;
|
||||
|
||||
class XMPP extends XMLStream {
|
||||
/**
|
||||
* @var string
|
|
@ -37,6 +37,8 @@
|
|||
* @copyright 2008 Nathanael C. Fritz
|
||||
* @version $Id$
|
||||
*/
|
||||
namespace thedevstack\phpxmpp;
|
||||
|
||||
class XMPPLog {
|
||||
|
||||
const LEVEL_ERROR = 0;
|
Loading…
Reference in a new issue