PHPackages                             sapistudio/newsapi - 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. sapistudio/newsapi

AbandonedArchivedLibrary

sapistudio/newsapi
==================

1.0.1(6y ago)02.3kMITPHPPHP &gt;=5.6

Since Nov 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Sapistudio/NewsApi.org)[ Packagist](https://packagist.org/packages/sapistudio/newsapi)[ RSS](/packages/sapistudio-newsapi/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

NewsApi.org
===========

[](#newsapiorg)

retrieve news from newsapi.org

Init
----

[](#init)

```
use SapiStudio\NewsApi\NewsApi;

$api = new NewsApi(api_key);
```

get headlines
-------------

[](#get-headlines)

```
$api->getTopHeadLines();
```

get everything
--------------

[](#get-everything)

```
$api->getEverything($searchText);
```

get sources
-----------

[](#get-sources)

```
$api->getSources($searchText);
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2377d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ed1a8aae5d1befdaadd91bd113d227ec995b0382d2cf5fc827d479b510454fad?d=identicon)[maharbig](/maintainers/maharbig)

---

Top Contributors

[![Sapistudio](https://avatars.githubusercontent.com/u/15252797?v=4)](https://github.com/Sapistudio "Sapistudio (10 commits)")

### Embed Badge

![Health badge](/badges/sapistudio-newsapi/health.svg)

```
[![Health](https://phpackages.com/badges/sapistudio-newsapi/health.svg)](https://phpackages.com/packages/sapistudio-newsapi)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
