Hi,
PEAR was the common way to install system PHP library...
in the previous century. Now all projects use per project
libraries and "composer" to manage them
PECL was the common way to install PHP extension (build from sources)
PECL is now deprecated.
PHP Installer for Extensions (PIE) is the replacement for PECL.
Extensions are slowly moving
from https://pecl.php.net/
to https://packagist.org/extensions
Changes in Fedora
- For ~10 years, pecl is no more a dependency for extensions
It is only used at build time for file placement
- "composer" was added to Fedora 21
- "pie" was added to Fedora 40
- composer and pie are now weak dependencies of php-pear
so this should raise users' attention on the proper tools
- In Fedora 44 "pecl" command now display a deprecation message
from https://github.com/pear/pear-core/pull/169
- Most extensions available in Fedora are now build from
git sources instead of pecl archive
- Packaging Guidelines were updated
"PECL will be deprecated in favor of PIE
https://docs.fedoraproject.org/en-US/packaging-guidelines/PHP/
- Packaged applications start following upstream and bundling used
libraries, "composer-generators" helps to manage them.
There is no plan to remove php-pear package before PHP 9
excepted if the website is shutdown.
Regards,
Remi
P.S. I apologize for double post on devel and php-devel,
I encourage all interested contributors to join and
reply on the php-devel list