2017 © Pedro Peláez
 

library nntp

Client for communicating with servers throught the Network News Transfer Protocol (NNTP) protocol.

image

rvdv/nntp

Client for communicating with servers throught the Network News Transfer Protocol (NNTP) protocol.

  • Monday, November 20, 2017
  • by robinvdvleuten
  • Repository
  • 10 Watchers
  • 30 Stars
  • 420 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 11 Forks
  • 5 Open issues
  • 14 Versions
  • 2 % Grown

The README.md

NNTP

Client for communicating with servers throught the Network News Transfer Protocol (NNTP) protocol., (*1)

Latest Stable Version Build Status Scrutinizer Code Quality Code Coverage StyleCI, (*2)

Installation

The recommended way to install the library is through composer., (*3)

composer require rvdv/nntp:^0.9.0

NNTP?

NNTP specifies a protocol for the distribution, inquiry, retrieval, and posting of news articles using a reliable stream (such as TCP) server-client model. NNTP is designed so that news articles need only be stored on one (presumably central) host, and subscribers on other hosts attached to the LAN may read news articles using stream connections to the news host., (*4)

-- RFC Abstract (source), (*5)

Usage

Here is an example that fetches 100 articles from the php.doc of the news.php.net server:, (*6)

<?php

use Rvdv\Nntp\Connection\Connection;
use Rvdv\Nntp\Client;

$connection = new Connection('news.php.net', 119);
$client = new Client($connection);

$client->connect();

$overviewFormat = $client->overviewFormat();
$group = $client->group('php.doc');
$articles = $client->xover($group['first'], $group['first'] + 100, $overviewFormat);

// Process the articles further...

$client->disconnect();

Tests

To run the test suite, you need install the dependencies via composer, then run PHPUnit., (*7)

$ composer install
$ php vendor/bin/phpunit

License

MIT © Robin van der Vleuten, (*8)

The Versions

20/11 2017

dev-master

9999999-dev https://github.com/robinvdvleuten/php-nntp

Client for communicating with servers throught the Network News Transfer Protocol (NNTP) protocol.

  Sources   Download

MIT

The Requires

  • php ^5.5|^7.0

 

The Development Requires

03/07 2017

v0.9.2

0.9.2.0 https://github.com/robinvdvleuten/php-nntp

Client for communicating with servers throught the Network News Transfer Protocol (NNTP) protocol.

  Sources   Download

MIT

The Requires

  • php ^5.5|^7.0

 

The Development Requires

01/01 2017

v0.9.1

0.9.1.0 https://github.com/robinvdvleuten/php-nntp

Client for communicating with servers throught the Network News Transfer Protocol (NNTP) protocol.

  Sources   Download

MIT

The Requires

  • php ^5.5|^7.0

 

The Development Requires

03/12 2016

v0.9.0

0.9.0.0 https://github.com/robinvdvleuten/php-nntp

Client for communicating with servers throught the Network News Transfer Protocol (NNTP) protocol.

  Sources   Download

MIT

The Requires

  • php ^5.5|^7.0

 

The Development Requires

26/09 2016

v0.8.0

0.8.0.0 https://github.com/robinvdvleuten/php-nntp

Client for communicating with servers throught the Network News Transfer Protocol (NNTP) protocol.

  Sources   Download

MIT

The Requires

  • php ^5.5|^7.0

 

The Development Requires

15/02 2016

v0.7.0

0.7.0.0 https://github.com/robinvdvleuten/php-nntp

Client for communicating with servers throught the Network News Transfer Protocol (NNTP) protocol.

  Sources   Download

MIT

The Requires

  • php ^5.5|^7.0

 

The Development Requires

20/08 2014

v0.6.0

0.6.0.0

Client for communicating with servers throught the Network News Transfer Protocol (NNTP) protocol.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

31/07 2014

v0.5.0

0.5.0.0

Client for communicating with servers throught the Network News Transfer Protocol (NNTP) protocol.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

03/03 2014

v0.4.0

0.4.0.0

Client for communicating with servers throught the Network News Transfer Protocol (NNTP) protocol.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

13/01 2014

v0.3.2

0.3.2.0

Client for communicating with servers throught the Network News Transfer Protocol (NNTP) protocol.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

10/01 2014

v0.3.1

0.3.1.0

Client for communicating with servers throught the Network News Transfer Protocol (NNTP) protocol.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

10/01 2014

v0.3.0

0.3.0.0

Client for communicating with servers throught the Network News Transfer Protocol (NNTP) protocol.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

18/12 2013

v0.2.0

0.2.0.0

Client for communicating with servers throught the Network News Transfer Protocol (NNTP) protocol.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

03/12 2013

v0.1.0

0.1.0.0

Client for communicating with servers throught the Network News Transfer Protocol (NNTP) protocol.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires