tags:

views:

124

answers:

2

As we have CPAN Libraries in Perl, do we have similar kind in PHP ? actually am new to PHP and was not sure about this.

A: 

What you have is a whole lot of documentation in multiple languages. Pick the one you speak best

http://www.php.net/docs.php

Azeem.Butt
+6  A: 

Yes - PEAR and PECL essentially serve this function.

Ben
That was the idea with PEAR, but the php-landscape is more fragmented than Perl, so you'll often have to look elsewhere for libraries. PEAR is not as canonical as it could have been.
troelskn
"PEAR is not as canonical as it could have been" And imo the lack of a (more) widely accepted repository is a weak point of php.
VolkerK
PEAR has 544 packages. CPAN has 16782 and number of uploads is raising exponentially. PHP problem is that it does not have concept of module.
Alexandr Ciornii
The issue is not PHP's lack of 'module' support - it's that PEAR isn't a free-for-all like CPAN. There are coding standards, you have to get your module approved first, etc.
Cal