kanxphp/core
Composer 安装命令:
composer require kanxphp/core
包简介
Secure, future-proofed PHP wrappers for Data Integrity and Security.
README 文档
README
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
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" 🚀
This kit was built using KanxPHP RAD principles and is ready for production deployment. It bundles four high-value tools into a single endpoint:
- Auditor Controller: Security header & SEO health analysis.
- SSL Checker: Real-time certificate expiry & issuer verification.
- Robots Parser: Directives analysis for SEO and AI-scraper protection.
- 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
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 & 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
- SafeCurl: SSRF-protected external requests with private IP blacklisting.
- SafeJSON: Type-enforced JSON parsing with
IntegrityExceptionhandling. - SafeString: Multi-byte/Emoji-safe truncation and secure entropy generation.
- Unified Router: Single-entry point logic for multi-tool kits.
🚀 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.
kanxphp/core 适用场景与选型建议
kanxphp/core 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 67 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 04 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「php」 「security」 「integrity」 「polyfill」 「safe-php」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 kanxphp/core 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 kanxphp/core 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 kanxphp/core 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Provides support for ActiveRecord soft delete in Yii2
SRI Hash generator for laravel
Hash-based encrypt/decrypt
Provide a way to secure accesses to all routes of an symfony application.
It's a barebone security class written on PHP
check your database for obsolete fields and related data-structure errors
统计信息
- 总下载量: 67
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 44
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-04-27