Share to: share facebook share twitter share wa share telegram print page

PEAR

The PHP Extension and Application Repository, or PEAR, is a repository of PHP software code. Stig S. Bakken founded the PEAR project in 1999 to promote the re-use of code that performs common functions. The project seeks to provide a structured library of code, maintain a system for distributing code and for managing code packages, and promote a standard coding style. Though community-driven, the PEAR project has a PEAR Group which serves as the governing body and takes care of administrative tasks. Each PEAR code package comprises an independent project under the PEAR umbrella. It has its own development team, versioning-control and documentation.

PEAR packages

A PEAR package is distributed as a gzipped tar file. Each archive consists of source code written in PHP, usually in an object-oriented style[citation needed]. 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 Comprehensive Perl Archive Network (CPAN) archives, which PEAR took as its model[citation needed], 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 classes contain code for simulating object-oriented destructors and consistent error-handling. Packages exist for many basic PHP functions including authentication, 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.

PEAR package manager

The PEAR package manager provides a standardized way to install, uninstall, or upgrade with new PEAR packages or PECL extensions. Before installing a package it can also be instructed to take care of package dependencies so all the extra needed packages are installed too.

The PEAR package manager is run from the command line using the pear command. Usually it is therefore only the server administrator who can alter the installed base of PEAR and PECL extensions. On PHP installations running on Linux, the PEAR package manager is ready for usage by default, but on Windows the PEAR package manager is only available after running a batch file called go-pear.bat.

PEAR2 Pyrus

With Pyrus an attempt was undertaken to redesign and improve PEAR from the ground up for PHP 5.3 or newer.[1] Pyrus can be used to install packages from PEAR channels. The last release is from March 2011 and its development might have been discontinued due to the popularity of Composer.[2]

PEAR and Composer

With Composer there is an alternative available for managing packages for a PHP project. Composer also supports the installation of PEAR packages.[3] Some people [by whom?] of the PHP community argue for replacing PEAR in favor of composer.[4] [5]

PECL

The PHP Extension Community Library (PECL), (pronounced 'pickle'[6]) is conceptually very similar to PEAR, and indeed PECL modules are installed with the PEAR Package Manager. PECL contains C extensions for compiling into PHP. As C programs, PECL extensions run more efficiently than PEAR packages. PECL includes modules for XML-parsing, access to additional databases, mail-parsing, embedding Perl or Python in PHP scripts and for compiling PHP scripts. PECL spun off from the PEAR Project in October 2003. Originally it was called the PEAR Extension Code Library, but it now operates independently of PEAR.[7]

PECL extensions are documented alongside standard extensions within the PHP Manual, so there is no special manual for PECL extensions. Also, several[example needed] extensions began their development cycle in PECL and ended up in core (the distributed PHP source) and in many[example needed] of these cases the PECL versions become unmaintained.

See also

References

  1. ^ "PEAR2_Pyrus - PEAR2". Archived from the original on 2017-01-10. Retrieved 2016-12-12.
  2. ^ "PHP - What is the difference between PEAR and Composer?".
  3. ^ "Repositories - Composer".
  4. ^ "The rise of Composer and the fall of PEAR |Articles - Fabien Potencier".
  5. ^ "Blast from the Past - Is PEAR still relevant?".
  6. ^ "Manual :: What is PEAR?". pear.php.net. Retrieved 2017-03-21.
  7. ^ Jansen, Martin (October 15, 2003). "Own infrastructure for PECL". News. PEAR. PEAR Website Team. Archived from the original on 2023-02-28. Retrieved 2023-02-28. PECL, formerly known as PHP Extension Code Library, has been renamed to PHP Extension Community Library.{{cite web}}: CS1 maint: bot: original URL status unknown (link)

Read other articles:

1955 Italian filmDisownedDirected byGiorgio Walter ChiliWritten byGiorgio Walter ChiliFederico GalliAlfred NibloStarringAlberto FarneseHélène RémyLaura NucciCinematographyAngelo BaistrocchiEdited byRinaldo MontagnoniMusic byCarlo RustichelliProductioncompanyJonia FilmDistributed byVariety DistributionRelease date1 June 1955Running time96 minutesCountryItalyLanguageItalian Disowned (Italian: Ripudiata) is a 1955 Italian historical melodrama film directed by Giorgio Walter Chili and starring Al…

Kharkiv Metro station PushkinskaKharkiv Metro StationThe Station HallGeneral informationCoordinates50°0′14.16″N 36°14′51.08″E / 50.0039333°N 36.2475222°E / 50.0039333; 36.2475222Owned byKharkiv MetroLine(s) Saltivska LinePlatforms1Tracks2ConstructionStructure typeundergroundPlatform levels1HistoryOpened10 August 1984ElectrifiedYesServices Preceding station Kharkiv Metro Following station Universytettowards Istorychnyi Muzei Saltivska Line Kyivskatowards Heroiv…

Dolina Kežmarskej Bielej vody Das Tal Dolina Kežmarskej Bielej vody (mit polnischen Bezeichnungen) Das Tal Dolina Kežmarskej Bielej vody (mit polnischen Bezeichnungen) Lage Prešovský kraj, Slowakei Gewässer Kežmarská Biela voda Gebirge Hohe Tatra, Tatra, Karpaten Geographische Lage 49° 12′ 28″ N, 20° 15′ 42″ O49.20777777777820.261666666667Koordinaten: 49° 12′ 28″ N, 20° 15′ 42″ O Dolina Kežmarskej Biele…

Stasiun Naruko-Onsen鳴子温泉駅Stasiun Naruko-Onsen pada Oktober 2010LokasiNaruko-Onsen-aze Yumoto 2-2, Ōsaki-shi, Miyagi-ken 989-6100JepangKoordinat38°44′36″N 140°42′58″E / 38.7432°N 140.7161°E / 38.7432; 140.7161Koordinat: 38°44′36″N 140°42′58″E / 38.7432°N 140.7161°E / 38.7432; 140.7161Pengelola JR EastJalur■ Jalur Rikuu TimurLetak dari pangkal44.9 km dari KogotaJumlah peron1 peron pulauJumlah jalur2KonstruksiJenis…

2023MMXXIII agosto septiembre octubre sem L M X J V S D 35.ª 28 29 30 31 1 2 3 36.ª 4 5 6 7 8 9 10 37.ª 11 12 13 14 15 16 17 38.ª 18 19 20 21 22 23 24 39.ª 25 26 27 28 29 30 1 [Actualizar calendario]Ir al mes actualTodos los díasMás calendarios El 27 de septiembre es el 270.º (ducentésimo septuagésimo) día del año en el calendario gregoriano y el 271.º en los años bisiestos. Quedan 95 días para finalizar el año. Acontecimientos 1066: Guillermo I de Inglaterra y su ejército …

Bombardeo de BelgradoFecha 18 de septiembre de 1944Lugar Reino de YugoslaviaCoordenadas 44°49′00″N 20°28′00″E / 44.81666667, 20.46666667[editar datos en Wikidata] El bombardeo de Belgrado de los días 16 y 17 de abril de 1944 a cargo de los Aliados, se produjo en el marco de la Segunda Guerra Mundial, cuando fuerzas anglo-estadounidenses atacaron objetivos estratégicos con el fin de aniquilar las posiciones alemanas y facilitar la liberación de la ciudad, co…

Officer of the College of Arms Richmond HeraldThe heraldic badge of Richmond Herald of Arms in Ordinary Heraldic traditionGallo-BritishJurisdictionEngland, Wales and Northern IrelandGoverning bodyCollege of Arms Richmond Herald of Arms in Ordinary is an officer of arms of the College of Arms in England. From 1421 to 1485, Richmond was a herald to John, Duke of Bedford, George, Duke of Clarence, and Henry, Earl of Richmond, all of whom held the Honour (estate) of Richmond. However, on the ac…

British medical missionary Sir Wilfred Grenfell Wilfred Grenfell and his wife in 1916 Sir Wilfred Thomason Grenfell KCMG (28 February 1865 – 9 October 1940) was a British medical missionary to Newfoundland, who wrote books on his work and other topics. Early life and education He was born at Parkgate, Cheshire, England, on 28 February 1865, the Son of Rev. Algernon Sidney Grenfell, headmaster of Mostyn House School, and Jane Georgiana Hutchison.[1] Grenfell moved to London in 1882. He …

Cohort born from 1883 to 1900 For other uses, see Lost Generation (disambiguation). Part of a series onSocial generations of the Western world Lost Generation Greatest Generation Silent Generation Baby boomers Generation X Millennials Generation Z Generation Alpha vte The Lost Generation was the social generational cohort in the Western world that was in early adulthood during World War I. The generation is generally defined as people born from 1883 to 1900, and came of age in either the 1900s o…

Love Reborn: Komik, Musik & Kisah Masa LaluPoster filmSutradara Jay Sukmo Produser Johansyah Jumberan Ditulis oleh Bagus Bramanti Gea Rexy Pemeran Nadya Arina Ardit Erwandha Rani Ramadhany Indra Jegel Jui Purwoto Ira Wibowo Donny Damara Penata musikKevin AprilioSinematograferRobby HerbiPenyuntingRyan PurwokoPerusahaanproduksiDarihati FilmsDistributorViuTanggal rilis 31 Mei 2018 (2018-05-31) (Indonesia) Durasi98 menitNegara IndonesiaBahasa Indonesia Love Reborn: Komik, Mus…

Duke of Braganza Teodósio IIDuke of BraganzaTenure22 February 1583 – 29 November 1630PredecessorJoão I, 6th Duke of BraganzaSuccessorJoão II, 8th Duke of BraganzaBorn28 April 1568Vila Viçosa, Alentejo, Kingdom of PortugalDied29 November 1630(1630-11-29) (aged 62)Vila Viçosa, Alentejo, Kingdom of PortugalSpouseAna de Velasco y GirónIssueamong others...João IV of PortugalHouseBraganzaFatherJoão I, Duke of BraganzaMotherCatarina of Portugal Teodósio II, 7th Duke of Braganza (28 …

Japanese sumo wrestler In this Japanese shikona name, the surname is Chiyonoyama. Chiyonoyama Masanobu千代の山 雅信Personal informationBornSugimura Masaharu(1926-06-02)June 2, 1926Fukushima, Hokkaidō, JapanDiedOctober 29, 1977(1977-10-29) (aged 51)Sapporo, JapanHeight1.90 m (6 ft 3 in)Weight122 kg (269 lb)CareerStableDewanoumiRecord403-158-147 (2 draws)DebutJanuary 1942Highest rankYokozuna (May 1951)RetiredJanuary 1959Elder nameKokonoeChampionships6 (Makuuchi…

For the X-Men episode, see Phalanx Covenant (X-Men episode). This article does not cite any sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Phalanx Covenant – news · newspapers · books · scholar · JSTOR (May 2019) (Learn how and when to remove this template message) Phalanx CovenantCover of X-Factor 106 (Sept 1994)Art by Steve LightlePublisherMarvel Comi…

American college basketball season 2022–23 Wake Forest Demon Deacons men's basketballConferenceAtlantic Coast ConferenceRecord19–14 (10–10 ACC)Head coachSteve Forbes (3rd season)Assistant coaches BJ McKie Brooks Savage Matt Woodley Home arenaLJVM ColiseumSeasons← 2021–222023–24 → 2022–23 ACC men's basketball standings vte Conf Overall Team W   L   PCT W   L   PCT No. 16 Miami (FL) 15 – 5   .750 29 – 8   .784 No…

Esta página cita fontes, mas que não cobrem todo o conteúdo. Ajude a inserir referências. Conteúdo não verificável pode ser removido.—Encontre fontes: ABW  • CAPES  • Google (N • L • A) (Fevereiro de 2020) Gráfico de a dado por z = f(x, y) = −(x² + y²) + 4. O máximo global em (x, y, z) = (0, 0, 4) é indicado por um ponto azul Pesquisa mínima de Nelder-Mead da função de Simionescu . Os vértices simplex são ordenado…

Municipality in Thurgau, SwitzerlandHüttwilenMunicipality Coat of armsLocation of Hüttwilen HüttwilenShow map of SwitzerlandHüttwilenShow map of Canton of ThurgauCoordinates: 47°36′N 8°52′E / 47.600°N 8.867°E / 47.600; 8.867CountrySwitzerlandCantonThurgauDistrictFrauenfeldArea[1] • Total17.6 km2 (6.8 sq mi)Elevation455 m (1,493 ft)Population (31 December 2018)[2] • Total1,729 • D…

English singer, songwriter, and actor (born 1979) For other people with similar names, see William Young. Will YoungYoung in 2011Background informationBirth nameWilliam Robert YoungBorn (1979-01-20) 20 January 1979 (age 44)Wokingham, Berkshire, EnglandGenresPopOccupation(s)SingersongwriteractorYears active2001–presentLabels19JiveIslandCooking VinylWebsitewillyoung.co.ukMusical artist William Robert Young (born 20 January 1979) is an English singer, songwriter, and actor. He came to promin…

DB Cargo PolskaSpółka AkcyjnaTypeLtd.IndustryRail transportFounded2001HeadquartersZabrze, PolandKey peopleSteffen BobsienCEOProductsRail transport, CargoRevenue440 million € (2008)[1]Number of employees6000 (2008)Websitepl.dbcargo.com DB Cargo Polska (formerly DB Schenker Rail Polska and PCC Rail) is a Polish company operating mainly in rail freight transportation. It is presently owned by the German state railway company Deutsche Bahn (DB). The primary materials transported by the c…

Coordenadas: 43° 55' N 12° 54' E Pésaro    Comuna   Símbolos Bandeira Localização PésaroLocalização de Pésaro na Itália Coordenadas 43° 55' N 12° 54' E Região Marcas Província Pésaro e Urbino Características geográficas Área total 126 km² População total 90 311 hab. Densidade 716,8 hab./km² Altitude 337 m Outros dados Comunas limítrofes Fano, Gabicce Mare, Gradara, Mombaroccio, Monteciccardo, Montelabbate, Sant'…

Radio station in ManchesterXS ManchesterManchesterBroadcast areaNorth West EnglandFrequencyFM: 106.1 MHzRDSXS MANCProgrammingFormatIndie rock, alternativeOwnershipOwnerCommunicorp UKHistoryFirst air date5 May 2008 (15 years ago)Former names106.1 Rock RadioReal Radio XSLinksWebsitewww.xsmanchester.co.uk XS Manchester is an Independent Local Radio station serving Greater Manchester, broadcasting a mix of indie and alternative rock music, speech and news output. The station is owned and operated by…

Kembali kehalaman sebelumnya

Lokasi Pengunjung: 52.15.71.71