Created
February 26, 2013 16:36
-
-
Save proofek/5039915 to your computer and use it in GitHub Desktop.
php tools install using php cookbook
This file contains hidden or 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
include_recipe "php::#{node['php']['install_method']}" | |
channels = %w{pear.phpunit.de components.ez.no pear.symfony-project.com pear.symfony.com pear.pdepend.org pear.phpmd.org} | |
channels.each do |chan| | |
php_pear_channel chan do | |
action [:discover, :update] | |
end | |
end | |
packages = %w{PHP_CodeSniffer phpunit/PHPUnit pdepend/pdepend phpmd/PHP_PMD} | |
packages.each do |package| | |
php_pear package do | |
action [:install] | |
end | |
end | |
php_pear "xdebug" do | |
# Specify that xdebug.so must be loaded as a zend extension | |
zend_extensions ['xdebug.so'] | |
action :install | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment