From 53d0e62ff4942f5054170090e4fe2e9c91bf2ef7 Mon Sep 17 00:00:00 2001 From: Lev Lazinskiy Date: Mon, 6 Jun 2016 19:05:49 -0700 Subject: Add composer to vagrant fix #2305 --- Vagrantfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index fe1ecfb0..8e958c25 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -12,6 +12,10 @@ service apache2 restart rm -f /var/www/html/index.html date > /etc/vagrant_provisioned_at +curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer + +cd /var/www/html && composer install + wget -q https://phar.phpunit.de/phpunit.phar chmod +x phpunit.phar sudo mv phpunit.phar /usr/local/bin/phpunit -- cgit v1.2.3