Created
March 8, 2013 06:02
-
-
Save whatthejeff/5114513 to your computer and use it in GitHub Desktop.
Autoloading PEAR packages with composer.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"require": { | |
"pear-pear/pear": "1.9.4", | |
"pear-pear/Mail_Mime": "1.8.7" | |
}, | |
"repositories": [ | |
{ | |
"type": "pear", | |
"url": "http://pear.php.net" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require 'vendor/autoload.php'; | |
var_dump(class_exists('Mail_mime') && class_exists('Mail_mimePart')); |
Author
whatthejeff
commented
Mar 8, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment