PHPackages                             allmobilize/amazeui - 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. [Framework](/categories/framework)
4. /
5. allmobilize/amazeui

ActiveLibrary[Framework](/categories/framework)

allmobilize/amazeui
===================

The first crossing screen front-end framework in China, for developing mobile first, responsive web projects.

13.5k882.5k[6 issues](https://github.com/allmobilize/amazeui/issues)[5 PRs](https://github.com/allmobilize/amazeui/pulls)Go

Since Mar 4Pushed 1w ago829 watchersCompare

[ Source](https://github.com/allmobilize/amazeui)[ Packagist](https://packagist.org/packages/allmobilize/amazeui)[ RSS](/packages/allmobilize-amazeui/feed)WikiDiscussions main Synced today

READMEChangelog (4)DependenciesVersions (1)Used By (0)

[![en](https://camo.githubusercontent.com/6c74cf3743ba753b639a29862434c7e09f007876722ce6b66707255c58502add/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c616e672d656e2d677265656e2e737667)](https://github.com/OpenNHP/opennhp/blob/master/README.md)[![zh-cn](https://camo.githubusercontent.com/c6d1a64fee5a8a20a467a7af25715ed3b64e554fc136a1d6d58f425616b69b44/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c616e672d7a682d2d636e2d677265656e2e737667)](https://github.com/OpenNHP/opennhp/blob/master/README.zh-cn.md)[![zh-tw](https://camo.githubusercontent.com/eb1a221abbbff7c8f76740729818d5e78a13e3d58d75d9a97b9ae8e21b60c9c6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c616e672d7a682d2d74772d677265656e2e737667)](https://github.com/OpenNHP/opennhp/blob/master/README.zh-tw.md)[![de](https://camo.githubusercontent.com/9a68a3888dc631d5984b0bde6e56238bcac622afcb524d71b2c7c56d4a1ef424/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c616e672d64652d677265656e2e737667)](https://github.com/OpenNHP/opennhp/blob/master/README.de.md)[![ja](https://camo.githubusercontent.com/71e42de898066d4810574ea5d564d3b9c80162a28571f2b74bab7ec99f6e0606/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c616e672d6a612d677265656e2e737667)](https://github.com/OpenNHP/opennhp/blob/master/README.ja.md)[![fr](https://camo.githubusercontent.com/9a40d7fd4d5cc0dc73390e606a6215c24462afbde7c325a145165c6c2ec166b5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c616e672d66722d677265656e2e737667)](https://github.com/OpenNHP/opennhp/blob/master/README.fr.md)[![es](https://camo.githubusercontent.com/c153958c2d226c5ec1c6731d633bd45b4a3b8018eaaabc5ed9245486a00c3e90/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c616e672d65732d677265656e2e737667)](https://github.com/OpenNHP/opennhp/blob/master/README.es.md)

[![OpenNHP Logo](docs/images/logo11.png)](docs/images/logo11.png)

OpenNHP: Open Source Zero Trust Security Toolkit
================================================

[](#opennhp-open-source-zero-trust-security-toolkit)

[![Build](https://github.com/OpenNHP/opennhp/actions/workflows/ubuntu-build.yml/badge.svg)](https://github.com/OpenNHP/opennhp/actions/workflows/ubuntu-build.yml)[![Release](https://camo.githubusercontent.com/24652be9050fbee38c197ef5ec9f19cc6d1ac2a439bf4e65cba9218502d8da5b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f4f70656e4e48502f6f70656e6e68703f6c6162656c3d72656c65617365)](https://github.com/OpenNHP/opennhp/tags)[![License](https://camo.githubusercontent.com/a21a9e0b02a2eaf1910bbf168de84e00ae1eb7b0fde8c5ceec0e7caa61920adf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d417061636865253230322e302d677265656e)](https://camo.githubusercontent.com/a21a9e0b02a2eaf1910bbf168de84e00ae1eb7b0fde8c5ceec0e7caa61920adf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d417061636865253230322e302d677265656e)[![codecov](https://camo.githubusercontent.com/2b196e271e8fe894cf2c8625527e3e61eb92a878b973a3ec815b7432fb58b342/68747470733a2f2f636f6465636f762e696f2f67682f4f70656e4e48502f6f70656e6e68702f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/OpenNHP/opennhp)[![Ask DeepWiki](https://camo.githubusercontent.com/0f5ae213ac378635adeb5d7f13cef055ad2f7d9a47b36de7b1c67dbe09f609ca/68747470733a2f2f6465657077696b692e636f6d2f62616467652e737667)](https://deepwiki.com/OpenNHP/opennhp)

**OpenNHP** is a lightweight, cryptography-powered, open-source toolkit implementing Zero Trust security for infrastructure, applications, and data. It is the reference implementation of the [**Cloud Security Alliance (CSA)**](https://cloudsecurityalliance.org/) *[Network-infrastructure Hiding Protocol (NHP) specification](https://cloudsecurityalliance.org/artifacts/stealth-mode-sdp-for-zero-trust-network-infrastructure)*, and features two core protocols:

- **Network-infrastructure Hiding Protocol (NHP):** Conceals server ports, IP addresses, and domain names to protect applications and infrastructure from unauthorized access.
- **Data-content Hiding Protocol (DHP):** Ensures data security and privacy via encryption and confidential computing, making data *"usable but not visible."*

**[Website](https://opennhp.org) · [Vision](https://opennhp.org/vision/) · [Live Demo](https://opennhp.org/demo/) · [Documentation](https://docs.opennhp.org) · [Discord](https://discord.gg/CpyVmspx5x)**

---

Why OpenNHP
-----------

[](#why-opennhp)

The modern internet is a [dark forest](https://en.wikipedia.org/wiki/Dark_forest_hypothesis). Attackers — increasingly backed by LLMs that scan, fingerprint, and exploit at machine speed via [Autonomous Vulnerability Exploitation](https://arxiv.org/abs/2404.08144) — treat every reachable service as a target. [Gartner projects](https://www.gartner.com/en/newsroom/press-releases/2024-08-28-gartner-forecasts-global-information-security-spending-to-grow-15-percent-in-2025) AI-driven cyberattacks will rise rapidly. Traditional defenses authenticate users *after* the network lets them in, leaving exposed ports, IPs, and domains as a permanent attack surface.

> **In the AI era, VISIBILITY = VULNERABILITY.**

OpenNHP inverts that model: **invisible until trusted.** Every port, IP, and hostname sits behind a default-deny gate. Access is granted only after a cryptographically signed knock is authenticated and authorized out-of-band. Attackers can't exploit what they can't discover.

### The third-generation network hiding protocol

[](#the-third-generation-network-hiding-protocol)

NHP is the next step in a line of "hide the service first" designs:

GenerationProtocolLimitations1Port KnockingPlaintext, replay-prone2Single Packet Authorization (SPA)Shared secrets, one-way, typically hides ports only, typically C/C++**3****NHP**Modern crypto, bi-directional with status, hides domain + IP + ports, stateless and horizontally scalable, memory-safe GoNHP slots in alongside existing IAM, DNS, FIDO, and Zero Trust policy engines rather than replacing them — it extends your stack instead of forking it.

---

Architecture
------------

[](#architecture)

OpenNHP follows a modular design with three core components, inspired by the [NIST Zero Trust Architecture](https://www.nist.gov/publications/zero-trust-architecture):

[![OpenNHP architecture](docs/images/OpenNHP_Arch.gif)](docs/images/OpenNHP_Arch.gif)

Core ComponentRole**NHP-Agent**Client that sends encrypted knock requests to gain access**NHP-Server**Authenticates and authorizes requests; runs separately and is architecturally decoupled from the protected host**NHP-AC**Access controller that manages firewall rules on the protected serverAddon ComponentRole**NHP-Relay**HTTP-to-UDP bridge enabling browser-based agents to send NHP knocks via HTTPS**NHP-KGC**Key Generation Center for Identity-Based Cryptography (IBC)### Protocol flow

[](#protocol-flow)

1. Agent sends an encrypted knock (`NHP_KNK`) to the Server.
2. Server validates the knock and sends an operation request (`NHP_AOP`) to the AC.
3. AC opens the firewall and replies (`NHP_ART`) to the Server.
4. Server returns an acknowledgment (`NHP_ACK`) with access info to the Agent.
5. Agent reaches the protected resource through the AC.

### Cryptography

[](#cryptography)

OpenNHP ships with two interchangeable cipher suites:

- **`CIPHER_SCHEME_CURVE`** — Curve25519 + AES-256-GCM + BLAKE2s
- **`CIPHER_SCHEME_GMSM`** — SM2 + SM4-GCM + SM3

Both are driven by the [Noise Protocol Framework](https://noiseprotocol.org/). An Identity-Based Cryptography (IBC) mode is available via the Key Generation Center (KGC).

> For protocol details, deployment models, and cryptographic design, see the [documentation](https://docs.opennhp.org).

---

Repository Structure
--------------------

[](#repository-structure)

```
opennhp/
├── nhp/              # Core protocol library (Go module)
│   ├── core/         # Packet handling, cryptography, Noise Protocol, device management
│   ├── common/       # Shared types and message definitions
│   ├── utils/        # Utility functions
│   ├── plugins/      # Plugin handler interfaces
│   ├── log/          # Logging infrastructure
│   └── etcd/         # Distributed configuration support
└── endpoints/        # Daemon implementations (Go module, depends on nhp)
    ├── agent/        # NHP-Agent daemon
    ├── server/       # NHP-Server daemon
    ├── ac/           # NHP-AC (access controller) daemon
    ├── db/           # NHP-DB (Data Broker for DHP)
    ├── kgc/          # NHP-KGC (Key Generation Center)
    └── relay/        # NHP-Relay daemon

```

---

Quick Start
-----------

[](#quick-start)

### Prerequisites

[](#prerequisites)

- Go 1.25.6+
- `make`
- Docker and Docker Compose (for the full-stack demo)

### Build

[](#build)

```
# Build all components
make

# Build individual daemons
make agentd    # NHP-Agent
make serverd   # NHP-Server
make acd       # NHP-AC
make db        # NHP-DB
make relayd    # NHP-Relay
make kgc       # NHP-KGC
```

### Test

[](#test)

```
cd nhp && go test ./...
cd endpoints && go test ./...
```

### Run with Docker

[](#run-with-docker)

```
cd docker && docker-compose up --build
```

Follow the [Quick Start tutorial](https://docs.opennhp.org/nhp_quick_start/) to simulate the full authentication workflow in a Docker environment.

---

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

[](#contributing)

We welcome contributions! Please read [CONTRIBUTING.md](CONTRIBUTING.md) before submitting pull requests.

**Note:** All commits must be signed with a verified GPG or SSH key.

```
git commit -S -m "your message"
```

---

Security
--------

[](#security)

Found a vulnerability? Please follow the responsible-disclosure process in [SECURITY.md](SECURITY.md) rather than opening a public issue.

---

Sponsors
--------

[](#sponsors)

[ ![LayerV.ai logo](docs/images/layerv_logo.png)](https://layerv.ai) [ ![Atlas Cloud logo](docs/images/atlascloud_logo.png)](https://www.atlascloud.ai/)---

License
-------

[](#license)

Released under the [Apache 2.0 License](LICENSE).

Contact
-------

[](#contact)

- Email:
- Discord: [Join our Discord](https://discord.gg/CpyVmspx5x)
- Website:

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance64

Regular maintenance activity

Popularity46

Moderate usage in the ecosystem

Community44

Growing community involvement

Maturity41

Maturing project, gaining track record

 Bus Factor3

3 contributors hold 50%+ of commits

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://avatars.githubusercontent.com/u/4370770?v=4)[Minwe LUO](/maintainers/Minwe)[@minwe](https://github.com/minwe)

---

Top Contributors

[![minwe](https://avatars.githubusercontent.com/u/4370770?v=4)](https://github.com/minwe "minwe (381 commits)")[![windcbf](https://avatars.githubusercontent.com/u/587460?v=4)](https://github.com/windcbf "windcbf (351 commits)")[![fengyily](https://avatars.githubusercontent.com/u/13551903?v=4)](https://github.com/fengyily "fengyily (248 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (127 commits)")[![huangzhipeng](https://avatars.githubusercontent.com/u/5733851?v=4)](https://github.com/huangzhipeng "huangzhipeng (103 commits)")[![justin-layerv](https://avatars.githubusercontent.com/u/178750268?v=4)](https://github.com/justin-layerv "justin-layerv (74 commits)")[![craftleon](https://avatars.githubusercontent.com/u/40546075?v=4)](https://github.com/craftleon "craftleon (36 commits)")[![haochangjiu](https://avatars.githubusercontent.com/u/13119014?v=4)](https://github.com/haochangjiu "haochangjiu (25 commits)")[![Fypy1019](https://avatars.githubusercontent.com/u/111499082?v=4)](https://github.com/Fypy1019 "Fypy1019 (22 commits)")[![Max-zs](https://avatars.githubusercontent.com/u/180751302?v=4)](https://github.com/Max-zs "Max-zs (21 commits)")[![opennhp-admin](https://avatars.githubusercontent.com/u/263080229?v=4)](https://github.com/opennhp-admin "opennhp-admin (21 commits)")[![ben-layerv](https://avatars.githubusercontent.com/u/282407248?v=4)](https://github.com/ben-layerv "ben-layerv (17 commits)")[![wenhulove333](https://avatars.githubusercontent.com/u/6638892?v=4)](https://github.com/wenhulove333 "wenhulove333 (11 commits)")[![cb403](https://avatars.githubusercontent.com/u/52311774?v=4)](https://github.com/cb403 "cb403 (11 commits)")[![jerry-0824](https://avatars.githubusercontent.com/u/16420327?v=4)](https://github.com/jerry-0824 "jerry-0824 (10 commits)")[![geminiwen](https://avatars.githubusercontent.com/u/1413056?v=4)](https://github.com/geminiwen "geminiwen (7 commits)")[![HuangShaoyan](https://avatars.githubusercontent.com/u/1252429?v=4)](https://github.com/HuangShaoyan "HuangShaoyan (4 commits)")[![opennhp-release-please[bot]](https://avatars.githubusercontent.com/u/13551903?v=4)](https://github.com/opennhp-release-please[bot] "opennhp-release-please[bot] (3 commits)")[![hongdp](https://avatars.githubusercontent.com/u/7688971?v=4)](https://github.com/hongdp "hongdp (3 commits)")[![aidistan](https://avatars.githubusercontent.com/u/3037661?v=4)](https://github.com/aidistan "aidistan (2 commits)")

---

Tags

cybersecurityzero-trustzero-trust-network-accesszero-trust-security

### Embed Badge

![Health badge](/badges/allmobilize-amazeui/health.svg)

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

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M296](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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