Re: [RFC] [Discussion] Deprecate PEAR and recommend Composer

From: Date: Fri, 10 Oct 2025 18:05:02 +0000
Subject: Re: [RFC] [Discussion] Deprecate PEAR and recommend Composer
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-128812@lists.php.net to get a copy of this message
On Fri, Oct 10, 2025 at 2:58 PM Jakub Zelenka <bukka@php.net> wrote: > Hi, > > On Fri, Oct 10, 2025 at 2:44 PM Brent Roose <brent.roose@jetbrains.com> > wrote: > >> The only thing related to PHP/internals is the fact PEAR is bundled with >>> PHP and that the PEAR website is a subdomain pear.php.net. >>> >> >> In my opinion, this is sufficient reason to have an RFC for it. A quick >> search through the RFCs showed a handful of website-related ones: >> >> - https://wiki.php.net/rfc/deprecate-pear-include-composer >> - https://wiki.php.net/rfc/global_login >> - https://wiki.php.net/rfc/phpnet-analytics >> >> Then there's the fact that Pear comes bundled with PHP, even more of an >> argument that internals have at least something to say about it. Several >> RFCs have addressed bundling/unbundling third party plugins before. Again, >> a quick search: >> >> - https://wiki.php.net/rfc/unbundle_imap_pspell_oci8 >> - https://wiki.php.net/rfc/unbundle_xmlprc >> - https://wiki.php.net/rfc/deprecate-and-remove-ext-wddx >> - https://wiki.php.net/rfc/unbundle_recode >> >> To me, and I believe to a significant part of the PHP community, what's >> most important is for PHP to acknowledge that composer is its de-facto >> standard package manager. This doesn't mean composer cannot operate >> independently anymore, but an endorsement would make a lot of sense. >> > > Removing PEAR/PECL from php-src is absolutely fine and such RFC should be > done. > I just gave it an initial try and it's a bit more involved but should be doable: https://github.com/php/php-src/pull/20124 . Kind regards, Jakub

« previous php.internals (#128812) next »