PHPackages                             simbiat/http20 - 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. simbiat/http20

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

simbiat/http20
==============

Set of functions that may be universally useful for websites

2.2.2+20250413(1y ago)4482[22 issues](https://github.com/Simbiat/HTTP20/issues)AGPL-3.0-or-laterPHPPHP ^8.3

Since Mar 14Pushed 1w ago1 watchersCompare

[ Source](https://github.com/Simbiat/HTTP20)[ Packagist](https://packagist.org/packages/simbiat/http20)[ Docs](https://github.com/Simbiat/http20)[ RSS](/packages/simbiat-http20/feed)WikiDiscussions main Synced today

READMEChangelog (10)DependenciesVersions (65)Used By (0)

HTTP20
======

[](#http20)

Set of classes/functions that may be universally useful for websites (or some parts of them, at least). They are provided in single library and not separately, not only because of some interdependencies, but also because if you are building a website from scratch, most likely, you will be interested in a bunch of them at the same time either way.

*Notice:* While some functions (like `zEcho` or different `Headers`) can replace respective logic in server software (like Apache, nginx and such), it's not recommended using them for that because of performance downside. Only use them only if you do not have access to server settings, want to pre-generate the headers to then use in server settings, or you want to customize some of them for specific pages, that you can't target by the server software.

- [HTTP20](#HTTP20)
    - [Atom](doc/Atom.md)
    - [RSS](doc/RSS.md)
    - [Sitemap](doc/Sitemap.md)
    - [Sharing](doc/Sharing.md)
        - [download](doc/Sharing.md#download)
        - [upload](doc/Sharing.md#upload)
        - [streamCopy](doc/Sharing.md#streamcopy)
        - [speedLimit](doc/Sharing.md#speedLimit)
        - [phpMemoryToInt](doc/Sharing.md#phpmemorytoint)
        - [rangesValidate](doc/Sharing.md#rangesvalidate)
        - [fileEcho](doc/Sharing.md#fileecho)
        - [proxyFile](doc/Sharing.md#proxyFile)
    - [Headers](doc/Headers.md)
        - [cacheControl](doc/Headers.md#cachecontrol)
        - [eTag](doc/Headers.md#etag)
        - [lastModified](doc/Headers.md#lastmodified)
        - [performance](doc/Headers.md#performance)
        - [security](doc/Headers.md#security)
        - [contentPolicy](doc/Headers.md#contentpolicy)
        - [features](doc/Headers.md#features)
        - [secFetch](doc/Headers.md#secFetch)
        - [clientReturn](doc/Headers.md#clientreturn)
        - [redirect](doc/Headers.md#redirect)
        - [notAccept](doc/Headers.md#notaccept)
        - [multiPartFormParse](doc/Headers.md#multiPartFormParse)
        - [isDNT](doc/Headers.md#isdnt)
        - [isGPC](doc/Headers.md#isgpc)
    - [Links](doc/Links.md)
    - [Meta](doc/Meta.md)
        - [twitter](doc/Meta.md#twitter)
        - [msTile](doc/Meta.md#mstile)
        - [facebook](doc/Meta.md#facebook)
    - [HTML](doc/HTML.md)
        - [timeline](doc/HTML.md#timeline)
        - [breadcrumbs](doc/HTML.md#breadcrumbs)
        - [pagination](doc/HTML.md#pagination)
    - [Common](doc/Common.md)
        - [valueToTime](doc/Common.md#valuetotime)
        - [atomIDGen](doc/Common.md#atomidgen)
        - [zEcho](doc/Common.md#zecho)
        - [LangCodeCheck](doc/Common.md#langcodecheck)
        - [htmlToRFC3986](doc/Common.md#htmltorfc3986)
        - [reductor](doc/Common.md#reductor)
        - [forceClose](doc/Common.md#forceclose)
        - [getExtensionFromMime](doc/Common.md#getExtensionFromMime)
        - [getMimeFromExtension](doc/Common.md#getMimeFromExtension)
    - [IRI](doc/IRI.md)
        - [isValidIri](doc/IRI.md#isvalidiri)
        - [iriToUri](doc/IRI.md#iritouri)
        - [restoreUri](doc/IRI.md#restoreuri)

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance56

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 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 ~23 days

Recently: every ~77 days

Total

64

Last Release

392d ago

Major Versions

1.13.2+20240407 → 2.0.0+202405062024-05-06

PHP version history (2 changes)1.0.0+20210314PHP ^8

1.13.2+20240407PHP ^8.3

### Community

Maintainers

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

---

Top Contributors

[![Simbiat](https://avatars.githubusercontent.com/u/6022665?v=4)](https://github.com/Simbiat "Simbiat (11 commits)")

---

Tags

httpphpatomhtmlSitemapbreadcrumb

### Embed Badge

![Health badge](/badges/simbiat-http20/health.svg)

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

###  Alternatives

[duzun/hquery

An extremely fast web scraper that parses megabytes of HTML in a blink of an eye. No dependencies. PHP5+

363146.3k4](/packages/duzun-hquery)[hannesvdvreken/guzzle-debugbar

A Guzzle middleware that logs requests to debugbar's timeline

76410.4k1](/packages/hannesvdvreken-guzzle-debugbar)[swoole-bundle/swoole-bundle

Open/Swoole Symfony Bundle

6650.4k](/packages/swoole-bundle-swoole-bundle)

PHPackages © 2026

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