You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
api-platform/doctrine-common requires abandoned doctrine/common but doesn't appear to use it #8835
api-platform/doctrine-common (v5.0.6, also main) requires doctrine/common: ^3.2.2, and that package is marked as abandoned on Packagist. Because of this, every downstream project gets an abandoned-package warning from composer install and composer audit.
Claude grepped the installed package and found no references to doctrine/common classes (Doctrine\Common\Util\*, Proxy\*, ClassLoader, CommonException, Comparable). Every Doctrine\Common\… match belongs to the ApiPlatform\Doctrine\Common\… namespace. The requirement may be left over from the ClassUtils removal (#6331).
Could you check whether the requirement can be dropped?
Confirming on a production app (API Platform 4.4.7, Doctrine ORM 3.7, PHP 8.5): removing doctrine/common entirely via a root replace leaves PHPStan level 8 clean, lint:container valid and our full Playwright suite green (148/148). The only remaining references in our vendor/ are a catch (CommonException ...) in phpstan-doctrine and a string class-name map in symfony/var-dumper, both inert when the class is absent. Happy to open a PR dropping the requirement from src/Doctrine/Common/composer.json, and a 4.4 backport if you'd take one.
Activity
Zegui81 commentedon Nov 11, 2026
Confirming on a production app (API Platform 4.4.7, Doctrine ORM 3.7, PHP 8.5): removing
doctrine/commonentirely via a rootreplaceleaves PHPStan level 8 clean,lint:containervalid and our full Playwright suite green (148/148). The only remaining references in ourvendor/are acatch (CommonException ...)in phpstan-doctrine and a string class-name map in symfony/var-dumper, both inert when the class is absent. Happy to open a PR dropping the requirement fromsrc/Doctrine/Common/composer.json, and a 4.4 backport if you'd take one.fix(doctrine): drop the unused doctrine/common requirement
fix(doctrine): drop the unused doctrine/common requirement (#8838)
soyuka commentedon Nov 13, 2026
Fixed by #8838.