PHPackages                             kanxphp/core - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kanxphp/core

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kanxphp/core
============

Secure, future-proofed PHP wrappers for Data Integrity and Security.

v1.0.46(1w ago)067↓100%MITPHPPHP &gt;=7.4CI failing

Since Apr 27Pushed 1w agoCompare

[ Source](https://github.com/KanxPHP/core)[ Packagist](https://packagist.org/packages/kanxphp/core)[ GitHub Sponsors](https://github.com)[ RSS](/packages/kanxphp-core/feed)WikiDiscussions main Synced 1w ago

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

KanxPHP Core
============

[](#kanxphp-core)

**The "Fortress in a Box" for Rapid API Development.**

KanxPHP is a security-first, high-performance PHP framework designed for one thing: **launching profitable, stateless micro-app APIs in seconds.**

Stop writing boilerplate for headers, security, and JSON handling. KanxPHP provides the hardened infrastructure (`SafeCurl`, `SqlGuard`, `SafeJSON`) so you can focus on building the logic that generates passive income on marketplaces like RapidAPI.

---

⚡ RAD (Rapid Application Development) in Action
-----------------------------------------------

[](#-rad-rapid-application-development-in-action)

**From Concept to Market in 60 Seconds.**

KanxPHP enables "Kit-based" development. Instead of building one API at a time, you scaffold entire professional suites.

### Example: The "Web Scan Kit" 🚀

[](#example-the-web-scan-kit-)

This kit was built using KanxPHP RAD principles and is ready for production deployment. It bundles four high-value tools into a single endpoint:

1. **Auditor Controller:** Security header &amp; SEO health analysis.
2. **SSL Checker:** Real-time certificate expiry &amp; issuer verification.
3. **Robots Parser:** Directives analysis for SEO and AI-scraper protection.
4. **DNS Lookup:** High-speed resolution for A, MX, TXT, and CNAME records.

**How it was built:**

```
# 1. Scaffold the entire niche infrastructure
php kanx-cli build:kit web-scan

# 2. Generate the specialized logic controllers
php kanx-cli make:controller Auditor
php kanx-cli make:controller SslCheck
php kanx-cli make:controller Robots
php kanx-cli make:controller Dns

# 3. Deploy to RapidAPI
# Done.
```

---

🗳️ Sponsor-Driven Roadmap
-------------------------

[](#️-sponsor-driven-roadmap)

We build what the market demands. Sponsors get to vote on which **Kanx-Kit** or specific micro-app we develop next.

### Current Voting Niche: **Security &amp; Validation ("Kanx-Scan")**

[](#current-voting-niche-security--validation-kanx-scan)

*Sponsors are currently prioritizing these upcoming tools:*

- **JWT Debugger:** Decodes and validates JWT tokens for integrity.
- **Password Pwned Checker:** Compares hashes against known data breach APIs.
- **VAT Number Validator:** Checks EU VAT IDs via SOAP/CURL.
- **IBAN Validator:** Validates bank account numbers via Modulo 97.
- **Disposable Email Filter:** Detects 5,000+ burner email domains.
- **XSS Deep-Cleaner:** Strips malicious scripts using `DOMDocument`.
- **SQLi Threat Scorer:** Analyzes strings for injection patterns via `SqlGuard`.
- **IPv6/IPv4 Range Checker:** Determines CIDR block membership.
- **Password Entropy Meter:** Calculates true bit-strength.
- **HoneyPot Link Generator:** Traps and identifies malicious scrapers.

---

🛠️ Core Infrastructure
----------------------

[](#️-core-infrastructure)

- **SafeCurl:** SSRF-protected external requests with private IP blacklisting.
- **SafeJSON:** Type-enforced JSON parsing with `IntegrityException` handling.
- **SafeString:** Multi-byte/Emoji-safe truncation and secure entropy generation.
- **Unified Router:** Single-entry point logic for multi-tool kits.

---

🚀 Get Started
-------------

[](#-get-started)

Become a contributor or sponsor to gain access to the **Kanx-CLI** and start scaffolding your own API empire.

**Are you ready to launch?** Check out the `/examples/web-scan-kit` directory to see the full implementation of our latest production-ready suite.

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance98

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

Total

35

Last Release

13d ago

### Community

Maintainers

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

---

Top Contributors

[![KanxPHP](https://avatars.githubusercontent.com/u/70859732?v=4)](https://github.com/KanxPHP "KanxPHP (46 commits)")

---

Tags

securiypolyfillphpsecurityintegritySafe PHP

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kanxphp-core/health.svg)

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

###  Alternatives

[php-ds/php-ds

Specialized data structures as alternatives to the PHP array

4229.3M161](/packages/php-ds-php-ds)[phpxmlrpc/polyfill-xmlrpc

A pure-php reimplementation of the API exposed by the native XML-RPC extension

12405.4k3](/packages/phpxmlrpc-polyfill-xmlrpc)[roxblnfk/unpoly

Remove unnecessary PHP polyfills

4126.8k13](/packages/roxblnfk-unpoly)[ducks-project/spl-types

Polyfill Module for SplType PHP extension. This extension aims at helping people making PHP a stronger typed language and can be a good alternative to scalar type hinting. It provides different typehandling classes as such as integer, float, bool, enum and string

1032.9k](/packages/ducks-project-spl-types)

PHPackages © 2026

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