bartlett/sarif-php-sdk
PHP library to create and manipulate SARIF logs
Maintainers
Requires
- php: ^7.4 || ^8.0
- ext-json: *
- ext-pcre: *
- ext-spl: *
Requires (Dev)
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-06-15 03:45:45 UTC
README
SARIF PHP SDK
👁 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.5.x | 👁 Branch 1.5 |
👁 Minimum PHP Version) |
👁 Stable Version 1.5 |
👁 License 1.5 |
👁 Documentation 1.5 |
| Stable v2.0.x | 👁 Branch 2.0 |
👁 Minimum PHP Version) |
👁 Stable Version 2.0 |
👁 License 2.0 |
👁 Documentation 2.0 |
| Stable v2.1.x | 👁 Branch 2.1 |
👁 Minimum PHP Version) |
👁 Stable Version 2.1 |
👁 License 2.1 |
👁 Documentation 2.1 |
| Stable v2.2.x | 👁 Branch 2.2 |
👁 Minimum PHP Version) |
👁 Stable Version 2.2 |
👁 License 2.2 |
👁 Documentation 2.2 |
| Stable v2.3.x | 👁 Branch 2.3 |
👁 Minimum PHP Version) |
👁 Stable Version 2.3 |
👁 License 2.3 |
👁 Documentation 2.3 |
| Stable v2.4.x | 👁 Branch 2.4 |
👁 Minimum PHP Version) |
👁 Stable Version 2.4 |
👁 License 2.4 |
👁 Documentation 2.4 |
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.
Specifications
Read the specification document for the Static Analysis Results Interchange Format (SARIF) version 2.1.0, in HTML format.
View and validate your SARIF files
Documentation
All the documentation is available on website, generated from the docs folder.
- API Reference describes all SARIF objects with examples.
or
- Builder API reference as an alternative to build SARIF objects with a fluent interface.
And also
- Study the tutorials from GitHub's Microsoft account.
Add support to SARIF report into your application
Please have a look on project Sarif-PHP-Converters that already gave support to 9 and more converters, and learn how to build your own one !
