This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$url = 'http://packagist.org/p/symfony/finder$a4bc31ef5d391952af0e7202b072f6d587ae89623277f89aefad0f9d49a9bc2c.json'; | |
$url = 'http://dump.robbast.nl/finder$a4bc31ef5d391952af0e7202b072f6d587ae89623277f89aefad0f9d49a9bc2c.json'; | |
$headers = array( | |
'User-Agent: Composer/source (Windows NT; 6.2; PHP 5.6.5)', | |
'Accept-Encoding: gzip', | |
'Connection: close', | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
array(10) { | |
'wrapper_data' => | |
array(9) { | |
[0] => | |
string(15) "HTTP/1.1 200 OK" | |
[1] => | |
string(13) "Server: nginx" | |
[2] => | |
string(35) "Date: Wed, 24 Jun 2015 10:18:15 GMT" | |
[3] => |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$url = 'http://packagist.org/p/symfony/finder$a4bc31ef5d391952af0e7202b072f6d587ae89623277f89aefad0f9d49a9bc2c.json'; | |
$headers = array( | |
'User-Agent: Composer/source (Windows NT; 6.2; PHP 5.6.5)', | |
'Accept-Encoding: gzip', | |
'Connection: close', | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$url = 'http://packagist.org/p/symfony/finder$a4bc31ef5d391952af0e7202b072f6d587ae89623277f89aefad0f9d49a9bc2c.json'; | |
$headers = array( | |
'User-Agent: Composer/source (Windows NT; 6.2; PHP 5.6.5)', | |
'Accept-Encoding: gzip', | |
'Connection: close', | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Monolog\Handler\AbstractProcessingHandler; | |
use Fabiang\Xmpp\Client; | |
use Fabiang\Xmpp\Options as XmppOptions; | |
use Fabiang\Xmpp\Protocol\Roster; | |
use Fabiang\Xmpp\Protocol\Presence; | |
use Fabiang\Xmpp\Protocol\Message; | |
use Monolog\Logger; | |
class XmppLogger extends AbstractProcessingHandler { |
NewerOlder