PEAR "heavy"?

I recently worked with PHPUnit, which requires PEAR. Every PHP developer that I mention PEAR seems to consider this a big hurdle to the code. What is the truth? For me, PEAR is like any other library, it will not slow down your code unless you decide to enable and use many functions.

Although I have no reason to use PEAR in a production environment, I would be interested to know what a consensus is about if I ever have a situation where I can consider using it for a production project.

+5
source share
2 answers

The pear is not "heavy" depending on what you do. Some pear libraries may be redesigned, but overall it's not bad.

Use it if you need a library or two without a frame. But if you need a consistent and large-scale set of libraries, I would suggest using libraries such as Zend (regardless of whether you use this architecture) for libraries.

<personal_opinion>

The only problem I encountered is that until recently they supported PHP4. This means that all of the code they created could not use any of the new elements of OOP PHP5. Now that has changed, but many of the libraries have not been updated. So this is really a mixture of some really good utilities and some really eih. Look before you blindly choose my opinion ...

, , ( ) - . ( ). , , , ...

</personal_opinion>

+6

PEAR - , , PEAR "". PEAR , Zend, , .

""; ?

+2

All Articles