Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4120576
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T23:14:24+00:00 2026-05-20T23:14:24+00:00

So there is the old pear installer and pyrus which is the new package

  • 0

So there is the old pear installer and pyrus which is the new package manager for PEAR … or was it PEAR2 … at least it’s faster and stuff.

And there is the old package.xml version <2.0 and the new package.xml >=2.0 … is that version related to the package manager … the pear installer or pyrus?

And what is PEAR2 actually? Why is there http://pear2.php.net/ and there is a version-agnostic ‘PEAR’ all over the site? Is it actually the same?

Could someone please explain to me how PEAR / PEAR2 / package.xml < and >= 2.0 / pear installer / Pyrus(.phar) are interrelated?

EDIT 1:

Pyrus: Improvements from the PEAR Installer

Basically states Pyrus is better than the old pear installer.

Pyrus no longer supports package.xml
version 1.0

So what’s going on with anything > 1.0?

In addition, Pyrus has introduced
support for PEAR2 packages that can be
extracted to disk and then later
upgraded using Pyrus.

I’m sorry … but is that propper English or is it just phrased confusingly? It seems to say that Pyrus also still supports PEAR … and of course PEAR2. Still leaving the main question to be answered – what is PEAR2?

EDIT 2:

PEAR2 & Pyrus – The look ahead

It’s a 2 years old outlook and slides for a presentation … so mostly just keywords and -phrases.

So PEAR2 is a concept overhaul … in which way?

Has a new installer … Pyrus? … but didn’t the other source state that Pyrus has introduced support for PEAR2?

The constraints for package distribution seem to have changed … only stable and PHPUnit coverage of at least 50% …

The rest doesn’t convey a clear meaning to me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T23:14:25+00:00Added an answer on May 20, 2026 at 11:14 pm

    First of all, the PEAR repository and PEAR installer are two separate things.

    PEAR2 is the next generation of the PEAR repository, Pyrus is the next generation of the PEAR installer.

    The PEAR repository has a set of standards for all packages released there. Likewise, the PEAR2 repository has standards each package must conform to. Unfortunately wiki.php.net which has all the details is down at the moment, but here’s the basic differences between PEAR standards and PEAR2 standards.

    • PEAR2 packages are PHP 5.3+ only
    • All code is under the PEAR2 namespace
    • Each package must use package.xml v2.0
    • Files autoload with PSR-0 autoloader
    • require_once is not allowed
    • Packages should not be tied to the filesystem they’re installed to
    • New versioning standards allow breaking BC without renaming the package
    • Packages should extend SPL Exceptions, and implement a base Exception interface

    Pyrus, the new installer, is actually a self-contained phar archive and requires no complex installation. The new installer supports many features that improve upon the original PEAR installer, and can install existing pear packages from pear.php.net, pear2.php.net, and other pear-compatible channels.

    The code within the pyrus.phar file complies with the PEAR2 coding standards, and therefore is in the PEAR2 repository and can be installed if you’d like to use it as a vendor library.

    With the pear installer you would use
    pear install pear/Net_URL2

    With pyrus, php pyrus.phar install pear/Net_URL2

    When you install a package which conforms to the PEAR2 standards, you can safely move it to another location, commit to a repository, and the installs aren’t tied to a specific machine. This makes it much easier to create a vendor directory containing libraries your application needs and share this with others.

    There’s quite a bit more, but that’s the basics of PEAR2 and Pyrus.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

rake assets:precompile creates new file like application-be2b8c92856ffacee861d9e9c2935e3e, but there's old one named application-c730047bc2a5cf3a706aa3a9f998ab77.css. It
I'm creating a new design for a website, and there is an old CGI
Is there a way in mercurial to remove old changesets from a database? I
Is there an easy way to compare the file tree of an old git
From my old Access days, there was a First() function that allowed you to
I am visiting some old code, and there are quite a few events declared
Every LINQ blog I found there seemed around 2 years old, I understand the
I've seen a ton of old posts out there on how to try to
Update 2022 There is cloud sql proxy now: https://cloud.google.com/sql/docs/mysql/sql-proxy#how-works Old Question I am currently
Setting up environment variables for hundreds of tests get old very quick. Is there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.