[COMPOSER] update

This commit is contained in:
Diogo Cordeiro
2019-11-16 16:51:01 +00:00
committed by Diogo Peralta Cordeiro
parent c96dafa191
commit 63669d3447
51 changed files with 1335 additions and 1050 deletions

View File

@@ -1,5 +1,4 @@
<?php
/**
* @file: XMPPHP Send message example
*
@@ -18,18 +17,16 @@
* LEVEL_VERBOSE = 4;
*/
require_once __DIR__.'/../vendor/autoload.php';
$conf = array(
'server' => 'talk.google.com',
'port' => 5222,
'username' => 'username',
'password' => 'password',
'proto' => 'xmpphp',
'domain' => 'gmail.com',
'printlog' => true,
'loglevel' => XMPPHP\Log::LEVEL_VERBOSE,
);
$conf = [
'server' => 'jabber.domain.com',
'port' => 5222,
'username' => 'username',
'password' => 'password',
'proto' => 'xmpphp',
'domain' => 'domain.net',
'printlog' => true,
'loglevel' => XMPPHP\Log::LEVEL_VERBOSE,
];
// Easy and simple for access to variables with their names
extract($conf);