Posts Tagged ‘pyrus’

Autoloader That Installs PEAR Packages

November 4th, 2009

I had a thought the other night about an autoloader that could install pear packages automatically for you.

Security concerns aside, I thought this would be a fun/juvenile coding experiment, and something that could showcase how easy the pyrus api is for installing PEAR packages. So here it is, pushed out on github – http://github.com/saltybeagle/AutoloadPackage/blob/master/AutoloadPackage.php

Only 56 lines of code to have an autoloader that will install a PEAR2 package. Now if that’s not fun, I don’t know what is.

:-)

Oh, and you should really check out Pyrus, the new PEAR installer. Get it over at the pear2 website (under construction).