Skip to content
scalarPublic

About

Scalar API References in Symfony

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Scalar for Symfony

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Render an interactive Scalar API reference from your OpenAPI document.

Documentation

Read the documentation here

Changelog

See CHANGELOG.md for a list of changes.

Development checks

Run composer test, composer analyse, and composer lint before opening a pull request. Use composer format to apply PHP-CS-Fixer rules.

CI checks every pull request and pushes to main, cancelling superseded runs. It also validates GitHub Actions workflows with actionlint. PHP pushes trigger automatic formatting commits using the same PHP-CS-Fixer configuration.

Mutation testing uses Infection 0.35.12, installed separately from Composer dependencies, with Xdebug or PCOV enabled. Run composer test-mutation with infection on your PATH. The check includes uncovered source code and requires at least 97% overall and covered mutation scores; timeouts count as escaped mutations. Reports are written to var/infection/.

Published releases copy their notes into CHANGELOG.md using the release tag as the version and commit the update to main.

GitHub Actions dependencies are recorded in .github/workflows/actions.lock. After adding or changing an action, run gh actions-lock and commit the workflow changes with the generated lockfile. Install the generator with gh extension install github/gh-actions-lock --pin v0.4.1; CI runs gh actions-lock --verify alongside actionlint. Docker action images retain their digest pins.

Credits and license

Created by Aleksander Frolov, inspired by Scalar for Laravel. Maintained as part of the Scalar integrations.

MIT. See LICENSE.

About

Scalar API References in Symfony

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages