PHPackages                             shahariaazam/news-aggregator - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. shahariaazam/news-aggregator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

shahariaazam/news-aggregator
============================

Aggregate news from various sources. Contribute to add your favorite news source too

48[1 issues](https://github.com/shahariaazam/news-aggregator/issues)PHPCI failing

Since Mar 7Pushed 5y agoCompare

[ Source](https://github.com/shahariaazam/news-aggregator)[ Packagist](https://packagist.org/packages/shahariaazam/news-aggregator)[ RSS](/packages/shahariaazam-news-aggregator/feed)WikiDiscussions development Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

News Aggregator in PHP
======================

[](#news-aggregator-in-php)

[![CI](https://github.com/shahariaazam/news-aggregator/workflows/CI/badge.svg)](https://github.com/shahariaazam/news-aggregator/workflows/CI/badge.svg)[![Code Coverage](https://camo.githubusercontent.com/0e625036bae8c4f680d51776f28ca96aa8cef8d01b0b9d287438b1f893033d35/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f6e6577732d61676772656761746f722f6261646765732f636f7665726167652e706e67)](https://camo.githubusercontent.com/0e625036bae8c4f680d51776f28ca96aa8cef8d01b0b9d287438b1f893033d35/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f6e6577732d61676772656761746f722f6261646765732f636f7665726167652e706e67)[![Code Quality](https://camo.githubusercontent.com/934419705b58551be28c9392c130428ea16d7db0a311603896a7e6a706c91abe/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f6e6577732d61676772656761746f722f6261646765732f7175616c6974792d73636f72652e706e67)](https://camo.githubusercontent.com/934419705b58551be28c9392c130428ea16d7db0a311603896a7e6a706c91abe/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f6e6577732d61676772656761746f722f6261646765732f7175616c6974792d73636f72652e706e67)

An universal **News Aggregator** for PHP developers. Easy, flexible and extendable library to get news headlines and full news article programmatically.

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
    - [With Composer](#with-composer)
- [Usage](#usage)
    - [From Application](#from-application)
    - [Command Line](#command-line)
    - [Advanced Usage](#advance-usage)
    - [Docker](#docker-image)
- [How to extend](#how-to-extend-it)
- [CLI Commands](#cli-commands)
- [Available News Sources](#available-news-sources)
    - [BBC](#bbc)
    - [Daily Prothom Alo](#the-daily-prothom-alo)
- [Issue &amp; Bug Reports](#issue--bug-reporting)
- [Contributing](#contributing)
    - [List of contributors](#list-of-contributors)

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

[](#installation)

### With Composer

[](#with-composer)

To use this library in your application, you can install this using `composer`. Just run the following command.

```
composer require shahariaazam/news-aggregator
```

That's it.

Usage
-----

[](#usage)

### From Application

[](#from-application)

You can easily get news from supported news provider from your application. Here is a simple code snippet that can return headlines from a specific news provider;

```
