Download Latest Version v3.10.0 source code.zip (5.0 MB)
Home / v3.9.0
Name Modified Size InfoDownloads / Week
Parent folder
phpDocumentor.phar 2025-11-21 30.0 MB
phpDocumentor.phar.asc 2025-11-21 455 Bytes
README.md 2025-11-20 3.4 kB
v3.9.0 source code.tar.gz 2025-11-20 4.5 MB
v3.9.0 source code.zip 2025-11-20 5.0 MB
Totals: 5 Items   39.5 MB 0

What's Changed

Default docker image improvements

phpDocumentor is now running by default on PHP 8.4 via the official Docker image. As usual older code is still processed correctly. No matter which PHP version you project is written for.

PHP 8.5

Our CI ppipelines are now also testing against PHP 8.5. Which allows you to run phpDocumentor on PHP 8.5 as well. PHP 8.5 does not have any additional changes that affect phpDocumentor at this time.

Expression Support

phpDocumentor now supports default expressions in parameters, properties and constants. The used types in these expressions are also parsed and used in the type resolution. So types within expressions are now linked correctly.

In this examle the Sauce type is linked correctly in the constructor parameter.

:::php
function __construct(Sauce $sauce = new Sauce('tomato')) {
    // ...
}

Extension Finder

The extension finder allows users to install extensions using composer. As an alternative to regular packages we do support phar extensions, which can be scoped to avoid conflicts with the main phpdocumentor application. The finder script is trying to avoid collisions between phpdocumentor and the classes within the project being processed. This might be the case when packages used by phpDocumentor are also used in the project.

Other Changes

New Contributors

Full Changelog: https://github.com/phpDocumentor/phpDocumentor/compare/v3.8.1...v3.9.0

Source: README.md, updated 2025-11-20