bartlett/sarif-php-converters 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

bartlett/sarif-php-converters

Composer 安装命令:

composer require bartlett/sarif-php-converters

包简介

Allows PHP projects to print a static code analysis report in SARIF format

README 文档

README

SARIF PHP Converters

StandWithUkraine GitHub Discussions

Releases Branch PHP Packagist License Documentation
Stable v1.0.x Branch 1.0 Minimum PHP Version) Stable Version 1.0 License 1.0 Documentation 1.0
Stable v1.1.x Branch 1.1 Minimum PHP Version) Stable Version 1.1 License 1.1 Documentation 1.1
Stable v1.2.x Branch 1.2 Minimum PHP Version) Stable Version 1.2 License 1.2 Documentation 1.2
Stable v1.3.x Branch 1.3 Minimum PHP Version) Stable Version 1.3 License 1.3 Documentation 1.3
Stable v1.4.x Branch 1.4 Minimum PHP Version) Stable Version 1.4 License 1.4 Documentation 1.4
Stable v1.5.x Branch 1.5 Minimum PHP Version) Stable Version 1.5 License 1.5 Documentation 1.5
Stable v1.6.x Branch 1.6 Minimum PHP Version) Stable Version 1.6 License 1.6 Documentation 1.6

Introduction

SARIF, the Static Analysis Results Interchange Format, defines a standard format for the output of static analysis tools. It is a powerful and sophisticated format suited to the needs of a wide variety of tools.

There are a lot of PHP project that do Static Code Analysis, but few of them support the SARIF format.

You can consider to be lucky when they provide at least the checkstyle or junit format.

This library may be considered as a producer on sarif report format, for these projects that did not support yet natively.

Features at a glance

  • A Console Tool to allow conversion from checkstyle format to sarif, if your application does not support custom reporting class.
  • Add sarif output format support to your application, if you accept to load on fly, any custom reporting class.

Comparison by project on output formats

Project Version SARIF Checkstyle JUnit CodeClimate
GitLab
GitHub Output Format Support
Composer Dependency Analyser 1.6.x junit
Composer 2.4.x table,plain,json,summary
Easy-Coding-Standard 12.3.x console,json,junit,checkstyle,gitlab
Mago 1.x github,gitlab,json,checkstyle,emacs,sarif, ...
Phan 5.5.1 text,csv,json,checkstyle,codeclimate,pylint,html,github
PHP CodeSniffer 3.10.x json,checkstyle,junit
PHP-CS-Fixer 3.59.x checkstyle,gitlab,json,junit
PHPInsights 2.11.x console,json,checkstyle,codeclimate,github-action
PHPLint 9.4.x (✅) console,json,junit,checkstyle,(sarif)
PHP Mess Detector 2.15.x xml,text,html,json,github,gitlab,sarif,checkstyle
PHPStan 2.0.x (✅) table,raw,checkstyle,json,junit,github,gitlab,teamcity,(sarif)
Rector 2.0.x console,json,junit,gitlab,github
Twig-CS-Fixer 3.0.x null,text,checkstyle,junit,github

Legend :

  • ✅ indicate that support to the format is available
  • (✅) indicate that support to the format is optional
  • ❌ indicate that support to the format is not yet available

Documentation

All the documentation is available on website, generated from the docs folder.

bartlett/sarif-php-converters 适用场景与选型建议

bartlett/sarif-php-converters 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 49.65k 次下载、GitHub Stars 达 5, 最近一次更新时间为 2024 年 07 月 05 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「converter」 「sarif」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 bartlett/sarif-php-converters 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 bartlett/sarif-php-converters 我们能提供哪些服务?
定制开发 / 二次开发

基于 bartlett/sarif-php-converters 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-07-05