Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

composer install global

composer global require --dev phpstan/phpstan

composer global require --dev phpstan/extension-installer && 
composer global require --dev phpstan/phpstan-beberlei-assert

composer global require --dev szepeviktor/phpstan-wordpress
Comment

composer install global

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php --install-dir=/usr/local/sbin/ --filename=composer
php -r "unlink('composer-setup.php');"
Comment

composer global install

mv composer.phar /usr/local/bin/composer
Comment

PREVIOUS NEXT
Code Example
Shell :: find image size terminal 
Shell :: install docker centos 8 
Shell :: count number of files in directory linux 
Shell :: install oh my zsh mac 
Shell :: npm install composition apiu 
Shell :: run cmd as administrator command line 
Shell :: how to unstage changes in git 
Shell :: change default kube editor 
Shell :: list packages linux windows 
Shell :: git add submodule branch 
Shell :: string to array bash 
Shell :: vim: command not found centos 
Shell :: docker run name 
Shell :: bash create folder in current directory 
Shell :: convert increase size linux command line 
Shell :: ubuntu install jellyfin 
Shell :: ubuntu install times new roman font 
Shell :: npm install production 
Shell :: script to kill a process in windows 
Shell :: install deb file in ubuntu 
Shell :: git increase buffer size 
Shell :: ubuntu install lib usb 
Shell :: how to cd into local machine using ubuntu subsystem 
Shell :: virtual host apache2 
Shell :: git get repo with composer 
Shell :: find exclude hidden files 
Shell :: force pull git 
Shell :: rm multiple folders 
Shell :: how to use zsh on mac 
Shell :: install golang ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =