मुख्य कंटेंट तक स्किप करें
Version: v0.18

Build

For compile /src/ folder to single file /dist/scanner you need to do this:

  1. Install composer requirements:

    composer install
  2. Run command

    composer build

Version the documentation

Create a documentation snapshot when publishing a scanner release:

cd docs
corepack yarn docusaurus docs:version 0.18.0

Replace 0.18.0 with the new scanner version. Commit the generated versioned_docs, versioned_sidebars, and versions.json files with the release changes. The current documentation remains available as Latest.

Technical details

The build process creates a PHAR (PHP Archive) file with a CLI-only stub. This approach avoids using Phar::webPhar() which performs strict signature verification. The CLI-only stub uses Phar::mapPhar() instead, which is more resilient to file corruption during download or transfer while still maintaining security for CLI usage.