PHPackages                             skychin/php-hackernews - 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. [API Development](/categories/api)
4. /
5. skychin/php-hackernews

ActiveLibrary[API Development](/categories/api)

skychin/php-hackernews
======================

A PHP wrapper for HackerNews API

37PHP

Since Dec 5Pushed 7y ago1 watchersCompare

[ Source](https://github.com/co0lsky/php-hackernews)[ Packagist](https://packagist.org/packages/skychin/php-hackernews)[ RSS](/packages/skychin-php-hackernews/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

HackerNews API PHP Wrapper
==========================

[](#hackernews-api-php-wrapper)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b75d33175bfd0ad286b3603c0652a94fb36c792c35299a5ff59f45580fd118cf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736b796368696e2f7068702d6861636b65726e6577732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/skychin/php-hackernews)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/37ed3314c351b806e37db012442ae2a1bde5b844d1519541468a635339184534/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f736b796368696e2f7068702d6861636b65726e6577732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/skychin/php-hackernews)[![Coverage Status](https://camo.githubusercontent.com/c6512f1382bc6dd05024a08b15c734b73f22a1f93452460465acf556efbb1c43/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f736b796368696e2f7068702d6861636b65726e6577732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/skychin/php-hackernews/code-structure)[![Quality Score](https://camo.githubusercontent.com/36ffc4e2394a47a1c18e1dcb9341fd1fa9ecd20310702af3ab5207205a72f946/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f736b796368696e2f7068702d6861636b65726e6577732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/skychin/php-hackernews)[![Total Downloads](https://camo.githubusercontent.com/ec295d3bb2e7b387d3630cc85825c54b1fa297517c6b6910d7d7a1b616464ba4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736b796368696e2f7068702d6861636b65726e6577732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/skychin/php-hackernews)

A PHP wrapper for HackerNews API.

Install
-------

[](#install)

Via Composer

```
$ composer require skychin/php-hackernews
```

Usage
-----

[](#usage)

```
$hn = new SkyChin\HackerNews();
$stories = $hn->topStories();
```

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Sky Chin](https://github.com/co0lsky)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![co0lsky](https://avatars.githubusercontent.com/u/1111529?v=4)](https://github.com/co0lsky "co0lsky (3 commits)")

### Embed Badge

![Health badge](/badges/skychin-php-hackernews/health.svg)

```
[![Health](https://phpackages.com/badges/skychin-php-hackernews/health.svg)](https://phpackages.com/packages/skychin-php-hackernews)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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