I guess most people will agree.
Often a PHP Class / project depends on something else from pecl, pear,composer or github. Or it requires an external database.
There is the function
Add a new dependency for a class
phpclasses.org/add_dependency.html
How about, we are able to describe dependencies with other stuff in more detail.
Perhaps a small table: Source, Key, Value
e.g.
Source=pecl
Key=ds
Value= bla bla https://www.php.net/manual/en/ds.installation.php
Source=composer
Key=php-ds/php-ds
Value=bla bla https://packagist.org/packages/php-ds/php-ds
Where value may contain an URL to a known source