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 :: kali linux 
Shell :: git diff show only files 
Shell :: find zombie process PID in linux 
Shell :: how to move a file in terminal 
Shell :: configure git diff tool vscode 
Shell :: blackeye linux 
Shell :: bash get username 
Shell :: how to use string format in powershell 
Shell :: vlc for ubuntu 
Shell :: eslint init 
Shell :: how to push local repo to github 
Shell :: copy all files from a folder to another ubuntu 
Shell :: install activitywatch ubunut 
Shell :: install kibana 7.17 ubuntu 
Shell :: how to run exe file with shell 
Shell :: how to switch another branch in git 
Shell :: Not Found - GET https://registry.npmjs.org/boostrap-vue - Not found 
Shell :: chown specific user linux 
Shell :: edit file as root ubuntu 
Shell :: kubectl neat not found 
Shell :: install ionic version 
Shell :: is ubuntu debian 
Shell :: Run Google Colab With Local Files 
Shell :: how to reduce slug size heroku 
Shell :: How to use Github Personal Access Token in Jenkins 
Shell :: git get commit author 
Shell :: ubuntu errors were encountered while processing libc-bin 
Shell :: pip install --upgrade 
Shell :: export bigquery scheam 
Shell :: linux uninstall package 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =