PHPackages                             tourze/risky-image-detect-bundle - 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. tourze/risky-image-detect-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

tourze/risky-image-detect-bundle
================================

提供风险图片检测和识别功能的 Symfony Bundle

0.2.0(4mo ago)01871MITPHPCI passing

Since Apr 20Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/tourze/risky-image-detect-bundle)[ Packagist](https://packagist.org/packages/tourze/risky-image-detect-bundle)[ RSS](/packages/tourze-risky-image-detect-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (13)Versions (4)Used By (1)

Risky Image Detect Bundle
=========================

[](#risky-image-detect-bundle)

[English](README.md) | [中文](README.zh-CN.md)

[![Latest Version](https://camo.githubusercontent.com/3b73bc94aeb702a12fa8b89a9a12672f15d565238cf08f2ef68f0edfca94b0d5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f75727a652f7269736b792d696d6167652d6465746563742d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/risky-image-detect-bundle)[![PHP Version](https://camo.githubusercontent.com/8bb4557305d24c564249c6b9012a69b1f1e2ca3620efdefeb944e20dd6be351e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746f75727a652f7269736b792d696d6167652d6465746563742d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/risky-image-detect-bundle)[![Total Downloads](https://camo.githubusercontent.com/ca4148c44e0e2a1c443aca2f7199ef5687489ce65fa62e9779bfce106d716244/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f75727a652f7269736b792d696d6167652d6465746563742d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/risky-image-detect-bundle)[![License](https://camo.githubusercontent.com/df1e63f91d4bb88ab37c784854971edf807f3e27226d4995cd671b958466a02a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f75727a652f7269736b792d696d6167652d6465746563742d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/risky-image-detect-bundle)[![Coverage Status](https://camo.githubusercontent.com/73ee3bab50824f778cedc6b4b3f78bcdab621eef812a979ec388b8ad692a4bff/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f746f75727a652f7068702d6d6f6e6f7265706f2e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/tourze/php-monorepo)

A Symfony Bundle for detecting risky image content, providing a secure image validation service.

Features
--------

[](#features)

- Simple and extensible interface for risky image detection
- Default implementation ready to use out of the box
- Easy to customize with your own detection logic
- Fully compatible with Symfony 6.4+ and PHP 8.1+
- Comprehensive test coverage

Installation
------------

[](#installation)

Install this package using Composer:

```
composer require tourze/risky-image-detect-bundle
```

Configuration
-------------

[](#configuration)

Enable this bundle in your Symfony project:

```
// config/bundles.php
return [
    // ...
    Tourze\RiskyImageDetectBundle\RiskyImageDetectBundle::class => ['all' => true],
];
```

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

[](#quick-start)

This bundle provides a `RiskyImageDetector` interface and its default implementation `DefaultRiskyImageDetector` for detecting risky image content.

```
