InfinityQuest - Programming Code Tutorials and Examples with Python, C++, Java, PHP, C#, JavaScript, Swift and more

Menu
  • Home
  • Sitemap

Python Programming Language Best Tutorials and Code Examples

Learn Python Right Now!
Home
PHP
Finding PEAR Packages
PHP

Finding PEAR Packages

InfinityCoder December 27, 2016

You want a listing of PEAR packages. From this list you want to learn more about each package and decide if you want to install it.

Browse PEAR 2 packages and PEAR packages, or search for packages. Use pear’s remote-list command to get a listing of PEAR packages. Explore listings of PEAR channel servers.

There are a few ways to review available PEAR and PEAR-compatible packages.

First, to browse the listings of official PEAR packages in a directory-style fashion, go to http:// pear2.php.net/categories/ and http://pear.php.net/packages.php?php=5.

From there you can burrow into each individual PEAR category.
Alternatively, you can search through the listings at the following address: http:// pear.php.net/search.php. The search page allows you to search by package name, author, category, and release date.
You can also ask Pyrus to provide you with a listing of packages in the PEAR channel using the remote-list command:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
% php pyrus.phar remote-list pear
 
Pyrus version 2.0.0a4 SHA-1: 72271D92C3AA1FA96DF9606CD538868544609A52
Using PEAR installation found at /Users/rasmus/lib
Remote packages for channel pear:
Audio:
Key: * = installed, ! = upgrades available
Authentication:
   Auth             1.6.4       Creating an authentication system.
   Auth_HTTP        2.1.8       HTTP authentication
   Auth_PrefManager 1.2.2       Preferences management class
   Auth_PrefManager 2 2.0.0dev\ Preferences management class
                    1
...
 
   XML_XPath2       n/a         The PEAR::XML_XPath2 package provided
                                an XPath/DOM XML manipulation,
                                maneuvering and query interface.
   XML_XRD          0.3.0       PHP library to parse and generate
                                "Extensible Resource Descriptor"
                                (XRD + JRD) files
XML_XSLT_Wrapper    0.2.2       Provides a single interface to the
                                different XSLT interface or commands
XML_XUL             0.9.1       Class to build Mozilla XUL applications.
Key: * = installed, ! = upgrades available

You can also query compatible PEAR Channel servers for available packages using the remote-list command. To do so, you must first make Pyrus aware of the alternate channel server.

For example:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
% php pyrus.phar channel-discover pear.drush.org
 
Pyrus version 2.0.0a4 SHA-1: 72271D92C3AA1FA96DF9606CD538868544609A52
Using PEAR installation found at /Users/rasmus/lib
Discovery of channel pear.drush.org successful
 
% php pyrus.phar list-channels
 
Pyrus version 2.0.0a4 SHA-1: 72271D92C3AA1FA96DF9606CD538868544609A52
Using PEAR installation found at /Users/rasmus/lib
Listing channels [/Users/rasmus/lib]:
__uri (__uri)
doc.php.net (phpdocs)
pear.drush.org (drush)
pear.php.net (pear)
pecl.php.net (pecl)
 
% php pyrus.phar remote-list drush
 
Pyrus version 2.0.0a4 SHA-1: 72271D92C3AA1FA96DF9606CD538868544609A52
Using PEAR installation found at /Users/rasmus/lib
Remote packages for channel drush:
Default:
   drush               6.2.0.0           command line shell and Unix scripting
                                         interface for Drupal
Key: * = installed, ! = upgrades available

To install a file from a remote channel, prepend the channel name and a slash before the package name. For example, to install the drush package from the drush channel:

1
2
3
4
5
6
7
% php pyrus.phar install drush/drush
 
Using PEAR installation found at /Users/rasmus/lib
Downloading pear.drush.org/drush
Mime-type: application/x-tar
[=========================================================>] 100% (494/494 kb)
Installed pear.drush.org/drush-6.2.0.0

 

 

Share
Tweet
Email
Prev Article
Next Article

Related Articles

Escaping Special Characters in a Regular Expression in PHP
You want to have characters such as * or + …

Escaping Special Characters in a Regular Expression in PHP

Picking a Random Line from a File in PHP
You want to pick a line at random from a …

Picking a Random Line from a File in PHP

About The Author

InfinityCoder
InfinityCoder

Leave a Reply

Cancel reply

Recent Tutorials InfinityQuest

  • Adding New Features to bash Using Loadable Built-ins in bash
    Adding New Features to bash Using Loadable …
    June 27, 2017 0
  • Getting to the Bottom of Things in bash
    Getting to the Bottom of Things in …
    June 27, 2017 0

Recent Comments

  • fer on Turning a Dictionary into XML in Python
  • mahesh on Turning a Dictionary into XML in Python

Categories

  • Bash
  • PHP
  • Python
  • Uncategorized

InfinityQuest - Programming Code Tutorials and Examples with Python, C++, Java, PHP, C#, JavaScript, Swift and more

About Us

Start learning your desired programming language with InfinityQuest.com.

On our website you can access any tutorial that you want with video and code examples.

We are very happy and honored that InfinityQuest.com has been listed as a recommended learning website for students.

Popular Tags

binary data python CIDR convert string into datetime python create xml from dict python dictionary into xml python how to create xml with dict in Python how to write binary data in Python IP Address read binary data python tutorial string as date object python string to datetime python

Archives

  • June 2017
  • April 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
Copyright © 2021 InfinityQuest - Programming Code Tutorials and Examples with Python, C++, Java, PHP, C#, JavaScript, Swift and more
Programming Tutorials | Sitemap