承接 kriosa-ai/kriosa-php 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kriosa-ai/kriosa-php

Composer 安装命令:

composer require kriosa-ai/kriosa-php

包简介

AI-Powered Web Application Middleware - Protect your apps from SQL injection, XSS, and 10+ attack vectors in 30 seconds

README 文档

README

PHP Version License: MIT Version Kriosa is an intelligent security middleware for PHP applications that acts as a smart layer between users and your application, detecting, filtering, and logging malicious activities before they reach your core application. AI-powered Web Application Middleware built for developers and businesses. One file. Zero dependencies. Instant protection.

Features

  • 🛡️ AI-Powered Threat Detection — Hybrid ML engine combining Random Forest and Neural Networks
  • 🔍 Attack Detection — SQL Injection, XSS, Path Traversal, Bot Detection, Rate Limiting
  • 🌍 Built for Africa — Optimized for African web infrastructure and threat landscape
  • 🚀 Framework Agnostic — Works with Laravel, WordPress, Symfony, and vanilla PHP
  • High Performance — Minimal overhead with 5ms average response time
  • 📊 Explainable AI — XAI dashboard shows exactly why a request was blocked
  • 📝 Real-time Analytics — Live threat scoring, confidence levels, and attack metrics

Installation

composer require kriosa-ai/kriosa-php

Quick Start

require 'vendor/autoload.php';

$kriosa = new Kriosa('sk_your_api_key');
$kriosa->protect();

One-Line Protection

kriosa_protect('sk_your_api_key');

Laravel Integration

// In app/Http/Middleware/KriosaMiddleware.php
$kriosa = new Kriosa(config('services.kriosa.key'));
$kriosa->protect();

WordPress Integration

// In wp-config.php or functions.php
require_once 'kriosa.php';
kriosa_protect('sk_your_api_key');

Configuration

$kriosa = new Kriosa('sk_your_api_key', [
    'timeout'      => 5,        // API timeout in seconds
    'debug'        => false,    // Enable debug logging
    'fail_closed'  => false,    // Block requests if API unreachable
    'show_badge'   => true,     // Show "Protected by Kriosa" badge
    'badge_position' => 'bottom-right' // Badge position
]);

Get Your API Key

  1. Sign up at kriosa.com
  2. Go to the API key section
  3. Copy your API key

Documentation

Full documentation at kriosa.com/docs

Support

License

MIT License — see LICENSE for details.

Built in Cameroon 🇨🇲 for Africa 🌍

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固