PHPackages                             githen/laravel-yidun - 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. [Security](/categories/security)
4. /
5. githen/laravel-yidun

ActiveLibrary[Security](/categories/security)

githen/laravel-yidun
====================

基于laravel的网易易盾内容安全

v1.1.14(7mo ago)3444↓50%1MITPHPPHP ^7.3

Since Apr 21Pushed 7mo ago2 watchersCompare

[ Source](https://github.com/jiaoyu-cn/laravel-yidun)[ Packagist](https://packagist.org/packages/githen/laravel-yidun)[ RSS](/packages/githen-laravel-yidun/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (24)Used By (0)

laravel-yidun
=============

[](#laravel-yidun)

基于laravel的网易易盾内容安全

[![image](https://camo.githubusercontent.com/707ba8c277c679c340a2ec8fb9504c7cd725bb2c4b65884d96437b89f2fb0299/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6a69616f79752d636e2f6c61726176656c2d796964756e)](https://github.com/jiaoyu-cn/laravel-yidun/stargazers)[![image](https://camo.githubusercontent.com/dc17b65b544f6f3752a06620a0286af34fee4dca11405814d52e5cc3a8c8e1a1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6a69616f79752d636e2f6c61726176656c2d796964756e)](https://github.com/jiaoyu-cn/laravel-yidun/network/members)[![image](https://camo.githubusercontent.com/73c40cf9e539dd1119fe5c4a03771fe3e7cc180950d67022c7f8fc256a28dd4a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6a69616f79752d636e2f6c61726176656c2d796964756e)](https://github.com/jiaoyu-cn/laravel-yidun/issues)

[易盾检测融媒体解决方案\_开发文档](https://support.dun.163.com/documents/599750646047514624?docId=599758618022715392)

安装
--

[](#安装)

```
composer require githen/laravel-yidun:~v1.1.0

# 迁移配置文件
php artisan vendor:publish --provider="Githen\LaravelYidun\Providers\YidunServiceProvider"
```

配置文件说明
------

[](#配置文件说明)

在config/logging.php中添加yidun日志配置项

```
'yidun' => [
    'driver' => 'daily',
    'path' => storage_path('logs/yidun/yidun.log'),
    'level' => 'debug',
    'days' => 7,
    'permission' => 0770,
],
```

生成`yidun.php`上传配置文件

```
