PHPackages                             rvdv/nntp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. rvdv/nntp

ActiveLibrary[HTTP &amp; Networking](/categories/http)

rvdv/nntp
=========

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

v0.9.2(8y ago)402.1k13[5 issues](https://github.com/robinvdvleuten/php-nntp/issues)MITPHPPHP ^5.5|^7.0

Since Dec 3Pushed 7y ago9 watchersCompare

[ Source](https://github.com/robinvdvleuten/php-nntp)[ Packagist](https://packagist.org/packages/rvdv/nntp)[ Docs](https://github.com/robinvdvleuten/php-nntp)[ RSS](/packages/rvdv-nntp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (14)Used By (0)

NNTP
====

[](#nntp)

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

[![Latest Stable Version](https://camo.githubusercontent.com/e1804db9ec6819cead9a0dedbb66ad20ae03814ecf74b7cbd597b586b127e153/68747470733a2f2f706f7365722e707567782e6f72672f727664762f6e6e74702f762f737461626c65)](https://packagist.org/packages/rvdv/nntp)[![Build Status](https://camo.githubusercontent.com/6f8316c250b607cadce81215b2f26b522688631f6ddc8887244c17737bae2712/68747470733a2f2f7472617669732d63692e6f72672f726f62696e7664766c657574656e2f7068702d6e6e74702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/robinvdvleuten/php-nntp)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/87808d5fcc1fb26dfa7e4f99a74f81b8f873a5d7d75e7353ee89cbafd1c299c5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f726f62696e7664766c657574656e2f7068702d6e6e74702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/robinvdvleuten/php-nntp/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/c1eccaeaff935d71dca22abd6568832cfbfa4d2cc1b40ad56a902d18bb9e1b93/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f726f62696e7664766c657574656e2f7068702d6e6e74702f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/robinvdvleuten/php-nntp/?branch=master)[![StyleCI](https://camo.githubusercontent.com/bc74ef9e3faf5bd21f979f978da7c8a5f30773a55a9526bf107261abc2eabdf8/68747470733a2f2f7374796c6563692e696f2f7265706f732f31343436353632362f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/14465626)

Installation
------------

[](#installation)

The recommended way to install the library is [through composer](http://getcomposer.org).

```
composer require rvdv/nntp:^0.9.0
```

NNTP?
-----

[](#nntp-1)

> 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.

> \-- RFC Abstract ([source](http://tools.ietf.org/html/rfc977))

Usage
-----

[](#usage)

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

```
