api-platform/doctrine-common requires abandoned doctrine/common but doesn't appear to use it

Open Beginner friendly
#8,835 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
66/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
php

Research direction

Inspect the api-platform/doctrine-common package’s Composer manifest and check its source for references to doctrine/common classes, including the namespaces listed in the issue. The issue points to removal of ClassUtils in #6331 as possible context. Confirm whether the dependency is still needed; done means the package no longer requires it if no usage remains, with relevant package checks passing.

Written by the indexing model from the issue text.

Description

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?

Dominant language
PHP
Stars
2.6k
Forks
988
Avg merge
4d 16h
Merged PRs (30d)
118

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from api-platform/core

All issues in api-platform/core

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.