Developer Builds Scalar API Reference Bundle for Symfony After Official Gap
A PHP engineer named Aleksander Frolov has released alex-frolov/scalar-symfony, an open-source Symfony bundle that integrates the Scalar API reference renderer — a modern alternative to Swagger UI. The bundle was created because Symfony lacked any official Scalar integration, even as frameworks like Laravel, Express, and NestJS were already listed among Scalar's 30-plus supported platforms. It works with any OpenAPI document source, including static YAML files, swagger-php, NelmioApiDocBundle, and API Platform, without parsing or proxying the spec. The release passed PHPStan static analysis at maximum level, includes 16 functional tests covering security and XSS escaping, and is tested across PHP 8.2–8.5 and Symfony 6.4–8.0. Frolov has also opened a proposal in the Scalar GitHub repository requesting an official Symfony integration, inviting community support to draw maintainer attention.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in