PHPackages                             nargotik/early-hints - 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. nargotik/early-hints

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

nargotik/early-hints
====================

Tiny PHP polyfill to send HTTP 103 Early Hints (Link: preload ...) safely and ergonomically.

v0.1.0(8mo ago)00MITPHPPHP &gt;=7.4CI passing

Since Aug 28Pushed 8mo agoCompare

[ Source](https://github.com/nargotik/early-hints)[ Packagist](https://packagist.org/packages/nargotik/early-hints)[ RSS](/packages/nargotik-early-hints/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

nargotik/early-hints
====================

[](#nargotikearly-hints)

Tiny PHP polyfill to send **HTTP `103 Early Hints`** easily:

```
use function Nargotik\EarlyHints\early_hints;

early_hints([
  ['href' => '/assets/app.css', 'rel' => 'preload', 'as' => 'style'],
  ['href' => '/assets/app.js',  'rel' => 'preload', 'as' => 'script'],
]);

// later:
header('Content-Type: text/html; charset=UTF-8');
http_response_code(200);
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance63

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity25

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

254d ago

### Community

Maintainers

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

---

Top Contributors

[![pluri-daniel-torres](https://avatars.githubusercontent.com/u/227776894?v=4)](https://github.com/pluri-daniel-torres "pluri-daniel-torres (2 commits)")

---

Tags

httplinkperformancepreloadearly hints103

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nargotik-early-hints/health.svg)

```
[![Health](https://phpackages.com/badges/nargotik-early-hints/health.svg)](https://phpackages.com/packages/nargotik-early-hints)
```

###  Alternatives

[symfony/web-link

Manages links between resources

1.4k99.0M249](/packages/symfony-web-link)[psr/link

Common interfaces for HTTP links

2.5k144.1M69](/packages/psr-link)[fig/link-util

Common utility implementations for HTTP links

1.8k56.8M28](/packages/fig-link-util)[hhxsv5/laravel-s

🚀 LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole.

3.9k676.0k10](/packages/hhxsv5-laravel-s)[kevinrob/guzzle-cache-middleware

A HTTP/1.1 Cache for Guzzle 6. It's a simple Middleware to be added in the HandlerStack. (RFC 7234)

43117.4M104](/packages/kevinrob-guzzle-cache-middleware)

PHPackages © 2026

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