2017 © Pedro Peláez
 

library xml-string-streamer-guzzle

Stream provider for Guzzle for use with xml-string-streamer

image

prewk/xml-string-streamer-guzzle

Stream provider for Guzzle for use with xml-string-streamer

  • Wednesday, October 4, 2017
  • by prewk
  • Repository
  • 1 Watchers
  • 3 Stars
  • 28,142 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 15 % Grown

The README.md

xml-string-streamer-guzzle Build Status StyleCI

Use with xml-string-streamer, (*1)

What is it?

Streams large XML files with low memory consumption, over HTTP using Guzzle., (*2)

Installing

Run composer require prewk/xml-string-streamer-guzzle to install this package., (*3)

Examples

use Prewk\XmlStringStreamer;
use Prewk\XmlStringStreamer\Stream;
use Prewk\XmlStringStreamer\Parser;

$url = "http://example.com/really-large-xml-file.xml";

$CHUNK_SIZE = 1024;
$stream = new Stream\Guzzle($url, $CHUNK_SIZE);
$parser = new Parser\StringWalker();

$streamer = new XmlStringStreamer($parser, $stream);

while ($node = $streamer->getNode()) {
    // ...
}

For more info, see the xml-string-streamer repo., (*4)

Compatibility

  • For PHP >= 5.5 with Guzzle 6 compatibility, use version 0.4.0
  • For PHP >= 7.2 with Guzzle 7 compatibility, use latest (1.0.0 and onwards)

The Versions

04/10 2017

dev-master

9999999-dev https://github.com/prewk/xml-string-streamer

Stream provider for Guzzle for use with xml-string-streamer

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar prewk

04/10 2017

0.3.0

0.3.0.0 https://github.com/prewk/xml-string-streamer

Stream provider for Guzzle for use with xml-string-streamer

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar prewk

23/03 2017

0.2.0

0.2.0.0 https://github.com/prewk/xml-string-streamer

Stream provider for Guzzle for use with xml-string-streamer

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar prewk

10/07 2015

0.1.0

0.1.0.0 https://github.com/prewk/xml-string-streamer

Stream provider for Guzzle for use with xml-string-streamer

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar prewk

12/01 2015

0.0.6

0.0.6.0 https://github.com/prewk/xml-string-streamer

Stream provider for Guzzle for use with xml-string-streamer

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar prewk

15/06 2014

0.0.5

0.0.5.0 https://github.com/prewk/xml-string-streamer

Stream provider for Guzzle for use with xml-string-streamer

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar prewk

03/06 2014

0.0.4

0.0.4.0 https://github.com/prewk/xml-string-streamer

Stream provider for Guzzle for use with xml-string-streamer

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar prewk

01/06 2014

0.0.3

0.0.3.0 https://github.com/prewk/xml-string-streamer

Stream provider for Guzzle for use with xml-string-streamer

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar prewk

26/05 2014

0.0.2

0.0.2.0 https://github.com/prewk/xml-string-streamer

Stream provider for Guzzle for use with xml-string-streamer

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar prewk

01/05 2014

0.0.1

0.0.1.0 https://github.com/prewk/xml-string-streamer

Stream provider for Guzzle for use with xml-string-streamer

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar prewk