• Stars
    star
    105
  • Rank 328,196 (Top 7 %)
  • Language
    PHP
  • License
    Other
  • Created about 13 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This is the definitive source of PEAR's core files.

PEAR - The PEAR Installer

image

What is the PEAR Installer? What is PEAR?

PEAR is the PHP Extension and Application Repository, found at http://pear.php.net.

The PEAR Installer is this software, which contains executable files and PHP code that is used to download and install PEAR code from pear.php.net.

PEAR contains useful software libraries and applications such as MDB2 (database abstraction), HTML_QuickForm (HTML forms management), PhpDocumentor (auto-documentation generator), DB_DataObject (Data Access Abstraction), and many hundreds more. Browse all available packages at http://pear.php.net, the list is constantly growing and updating to reflect improvements in the PHP language.

Warning

Do not run PEAR without installing it - if you downloaded this tarball manually, you MUST install it. Read the instructions in INSTALL prior to use.

Documentation

Documentation for PEAR can be found at http://pear.php.net/manual/. Installation documentation can be found in the INSTALL file included in this tarball.

Tests

Run the tests without installation as follows:

$ ./scripts/pear.sh run-tests -r tests

You should have the Text_Diff package installed to get nicer error output.

To run the tests with another PHP version, modify php_bin and set the PHP_PEAR_PHP_BIN environment variable:

$ pear config-set php_bin /usr/local/bin/php7
$ PHP_PEAR_PHP_BIN=/usr/local/bin/php7 ./scripts/pear.sh run-tests -r tests

Happy PHPing, we hope PEAR will be a great tool for your development work!

Test dependencies

  • zlib

Releasing

Create a PEAR package, as well as phars for pear-less installation, simply run build-release.sh).

go-pear.phar contains the PEAR installer installer that asks where to install it. It is available from http://pear.php.net/go-pear.phar.

install-pear-nozlib.phar installs PEAR automatically without asking anything. It is shipped with PHP itself.

More Repositories

1

Services_Openstreetmap

Makes communicating with the Open Street Map API, and Nominatim, from PHP intuitive.
PHP
192
star
2

PEAR_Exception

PHP
97
star
3

Console_Getopt

PHP
83
star
4

Crypt_GPG

Encrypt/decrypt PGP messages with PHP
PHP
82
star
5

Console_Table

Library that makes it easy to build console style tables.
PHP
79
star
6

pear-core-minimal

Minimal set of PEAR core files to be used as composer dependency
PHP
78
star
7

Archive_Tar

PHP
75
star
8

Numbers_Words

The PEAR Numbers_Words package provides methods for spelling numerals in words.
PHP
75
star
9

HTTP_Request2

Provides an easy way to perform HTTP requests (and does not require curl extension for this).
PHP
73
star
10

Log

PHP Logging Package
PHP
51
star
11

Net_HL7

PHP
47
star
12

Net_URL2

Class for parsing and handling URL. Parsing of URLs into their constituent parts (scheme, host, path etc.), URL generation, and resolving of relative URLs.
PHP
46
star
13

Text_LanguageDetect

PHP library to identify human languages from text samples.
PHP
45
star
14

Mail_Mime

Create MIME messages with PHP
PHP
43
star
15

Spreadsheet_Excel_Writer

Allows writing of Excel spreadsheets. Since 2002.
PHP
42
star
16

Config_Lite

a lightweight package for ini style configuration/settings text files.
PHP
40
star
17

VersionControl_Git

VersionControl_Git is a library that provides OO interface to handle Git repository.
PHP
38
star
18

Mail

Class that provides multiple interfaces for sending emails
PHP
37
star
19

FSM

PHP Finite State Machine
PHP
32
star
20

Cache_Lite

Fast and safe little cache system.
PHP
27
star
21

Date_HumanDiff

Generate textual time differences that are easily understandable by humans.
PHP
27
star
22

File_MARC

PHP
25
star
23

Services_JSON

PHP
25
star
24

Console_CommandLine

Full featured command line options and arguments parser.
PHP
24
star
25

Net_SMTP

PHP SMTP Implementation
PHP
24
star
26

Net_SmartIRC

PHP
24
star
27

Math_BigInteger

Pure-PHP arbitrary precision integer arithmetic library.
PHP
23
star
28

PHP_Debug

PHP
23
star
29

Text_Diff

Engine for performing and rendering text diffs
PHP
20
star
30

pearweb_phars

Partial source code for the PEAR website: go-pear.phar, install-pear-nozlib.phar
20
star
31

HTML_QuickForm2

Provides methods to create, validate and render HTML forms in PHP.
PHP
19
star
32

VersionControl_SVN

PHP
18
star
33

OLE

This package allows reading and writing of OLE (Object Linking and Embedding) compound documents. This format is used as container for Excel (.xls), Word (.doc) and other Microsoft file formats.
PHP
17
star
34

Image_Barcode2

A PHP5 revamp of the Image_Barcode package
PHP
16
star
35

HTTP_WebDAV_Server

PHP
16
star
36

Net_Socket

PHP
15
star
37

Math_Finance

PHP
15
star
38

Image_3D

PHP
14
star
39

Pager

PHP
14
star
40

Services_Mailman

Allows the easy integration of Mailman into a dynamic website without using Python or requiring permission to Mailman binaries
HTML
14
star
41

XML_Serializer

PHP
12
star
42

Date_Holidays

PHP
11
star
43

Auth_SASL

Abstraction of various SASL mechanism responses
PHP
11
star
44

Crypt_RSA

PHP
11
star
45

Math_Combinatorics

PHP
11
star
46

HTTP2

Miscellaneous HTTP utilities
PHP
11
star
47

CodeGen_PECL

PHP
11
star
48

Net_Nmap

PHP
10
star
49

MDB2

PHP
10
star
50

Net_LDAP2

Object oriented interface for searching and manipulating LDAP-entries
PHP
10
star
51

DB

PHP
9
star
52

Image_GraphViz

PHP
9
star
53

OpenDocument

Read, create and modify OASIS OpenDocument office files.
PHP
9
star
54

File_Gettext

PHP
9
star
55

Services_Atlassian_Crowd

PHP
9
star
56

XML_RPC2

PHP
9
star
57

HTML_BBCodeParser2

A PHP5 replacement for HTML_BBCodeParser
PHP
9
star
58

DB_DataObject

PHP
8
star
59

Config

PHP
8
star
60

Validate_Finance_CreditCard

Validation class for credit cards.
PHP
8
star
61

pearweb

PHP
8
star
62

PHP_Archive

Create and Use PHP Archive files
PHP
8
star
63

Net_SSH2

PHP
8
star
64

Games_Chess

PHP
7
star
65

XML_Parser

A github mirror
PHP
7
star
66

HTML_QuickForm

PHP
7
star
67

HTTP_WebDAV_Client

PHP
7
star
68

Date

PHP
7
star
69

Net_Wifi

Scans for wireless networks
PHP
6
star
70

SOAP

PHP
6
star
71

Net_IDNA2

PHP
6
star
72

Services_GeoNames

PHP
6
star
73

Net_Ping

OS independent wrapper class for executing ping calls
PHP
6
star
74

Auth

PHP
6
star
75

Net_NNTP

PHP
6
star
76

Net_DNS

PHP
6
star
77

Text_Statistics

Compute readability indexes for documents.
PHP
6
star
78

Text_Wiki

PHP
6
star
79

File_IMC

PHP
6
star
80

pear-svn-git

tool to move pear svn repositories to git
Shell
5
star
81

Validate_NZ

Validation class for New Zealand
PHP
5
star
82

MIME_Type

Detect the MIME Type of a file
PHP
5
star
83

HTML_Safe

PHP
5
star
84

XML_Feed_Parser

PHP
5
star
85

XML_HTMLSax3

http://pear.php.net/package/XML_HTMLSax3/
PHP
5
star
86

Text_Highlighter

PHP
5
star
87

PHP_Shell

PHP
5
star
88

PHP_Parser

PHP
5
star
89

Net_Sieve

PHP
5
star
90

Console_Color2

PHP
5
star
91

Structures_Graph

Graph datastructure manipulation library
PHP
5
star
92

File_Bittorrent2

PHP
5
star
93

Math_Matrix

PHP
5
star
94

Validate

PHP
4
star
95

XML_SVG

PHP
4
star
96

Payment_DTA

PHP
4
star
97

Services_Libravatar

API interfacing class for libravatar.org
PHP
4
star
98

Mail_Mime2

PHP
4
star
99

Mail_mimeDecode

PHP
4
star
100

Calendar

PHP
4
star