Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
PEAR
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==PEAR packages== A PEAR package is distributed as a [[gzip]]ped [[tar file]]. Each archive consists of source code written in [[PHP]], {{citation needed span|text=usually in an [[object-oriented]] style|date=July 2015}}. Many PEAR packages can readily be used by developers as ordinary third party code via simple include statements in PHP. More elegantly, the PEAR [[package manager]] which comes with PHP by default may be used to install PEAR packages so that the extra functionality provided by the package appears as an integrated part of the PHP installation. Unlike the [[CPAN|Comprehensive Perl Archive Network]] (CPAN) archives, {{citation needed span|text=which PEAR took as its model|date=July 2015}}, PEAR packages do not have implicit dependencies so that a package's placement in the PEAR package tree does not relate to code dependencies. Rather, PEAR packages must explicitly declare all dependencies on other PEAR packages. The PEAR base [[class (computer science)|class]]es contain code for simulating [[Object-oriented programming|object-oriented]] [[destructor (computer science)|destructor]]s and consistent error-handling. Packages exist for many basic PHP functions including [[authentication]], [[web cache|caching]], database access, [[encryption]], configuration, [[HTML]], [[web services]] and [[XML]]. PEAR means βPHP Extension and Application Repository.β It is a framework and distribution system for reusable PHP components. It extends PHP and gives a higher level of programming for all web developers. PEAR is divided into three different classes that are: PEAR Core Components, PEAR Packages, and PECL Packages. The PEAR Packages include functionality giving for authentication, networking, and file system features and tools for working with HTML and XML templates.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)