定制 dena-a/xss-transformer 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

dena-a/xss-transformer

Composer 安装命令:

composer require dena-a/xss-transformer

包简介

a PHP and Laravel package to transform strings to prevent xss injection

README 文档

README

a PHP and Laravel package to transform strings to prevent xss injection

Latest Stable Version Total Downloads Latest Unstable Version License

Requirements

  • PHP >= 7.4

Installation

Add the package to your composer file via the composer require command:

$ composer require dena-a/xss-transformer:^0.1

Or add it to composer.json manually:

"require": {
    "dena-a/xss-transformer": "^0.1"
}

Laravel\Lumen

  1. XssTransformer's service providers will be automatically registered using Laravel's auto-discovery feature.

    Note: For Lumen you have to add the XssTransformer service provider manually to: bootstrap/app.php :

    $app->register(Dena\XssTransformer\Laravel\XssTransformerServiceProvider::class);
  2. Publish the config-file with:

    php artisan vendor:publish --provider="Dena\XssTransformer\Laravel\XssTransformerServiceProvider"

Usage

TODO:

Contribute

Contributions are always welcome!

Support

If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request.

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-12-08