Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to install phpunit

# If the Suhosin extension is enabled, you need to 
# allow execution of PHARs in your php.ini:
suhosin.executor.include.whitelist = phar

# To globally install the PHAR:
$ wget https://phar.phpunit.de/phpunit-6.5.phar
$ chmod +x phpunit-6.5.phar
$ sudo mv phpunit-6.5.phar /usr/local/bin/phpunit
$ phpunit --version

# You may also use the downloaded PHAR file directly:
$ wget https://phar.phpunit.de/phpunit-6.5.phar
$ php phpunit-6.5.phar --version
Comment

install phpunit globally

$ composer global require phpunit/phpunit
$ composer global require phpunit/dbunit
$ composer global require phing/phing
$ composer global require phpdocumentor/phpdocumentor
$ composer global require sebastian/phpcpd
$ composer global require phploc/phploc
$ composer global require phpmd/phpmd
$ composer global require squizlabs/php_codesniffer
Comment

PREVIOUS NEXT
Code Example
Shell :: dependencies needed for kernel edit linux amd64 
Shell :: boolean in shell script 
Shell :: git checkout next commit 
Shell :: git checkout all deleted files 
Shell :: add new domain again with certbot 
Shell :: first 3 lines of a file 
Shell :: centos 7 install docker compose 
Shell :: how to change priority in network interface ubuntu 
Shell :: Run valet secure 
Shell :: find file 
Shell :: Git config --list to list all the settings 
Shell :: vim discard changes and quit command 
Shell :: linux rename all files in directory 
Shell :: check mtu size linux 
Shell :: adobe photoshop on linux ubuntu 
Shell :: odoo docker 
Shell :: best website downloader ubuntu 
Shell :: convert capital letters to lowercase in shell script 
Shell :: install docker-machine linux 
Shell :: grep everything after a pattern 
Shell :: print variable in bash 
Shell :: rename branch remote 
Shell :: unable to install all modules vmware ubuntu 20.04 
Shell :: uninstall kite 
Shell :: grafana speedtest 
Shell :: edit files from terminal linux 
Shell :: git log files only 
Shell :: how to install deepin desktop environment on ubuntu 20.10 
Shell :: linux check if a group exist or not 
Shell :: what is merge conflict in git 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =