forked from mathiasbynens/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpdev.sh
More file actions
49 lines (35 loc) · 1.03 KB
/
Copy pathphpdev.sh
File metadata and controls
49 lines (35 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
echo '* Installing PHP developments tools..';
# PHP package manager
brew install composer
brew upgrade composer
# Lets install deprecated version of PHP as well
brew tap exolnet/homebrew-deprecated
brew install php@5.6
brew install php@7.1
brew install php@7.2
brew install php@7.3
# Install mysql
brew install mysql mariadb
# Remove Apple pre-installed apache
sudo apachectl stop
sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist 2>/dev/null
# Install apache - nano /etc/apache2/httpd.conf
brew install httpd
# Install ngnix
brew install nginx
# Install Local by Flywheel
# brew --cask install local
# Install WordPress command tools
brew install wp-cli wpscan
# Web interface for MySQL and MariaDB
# brew install phpmyadmin
# Install database management application
brew --cask install sequel-pro beekeeper-studio
# Host file manager
brew --cask install gas-mask
# Install PHP IDE
brew --cask install phpstorm
# Install Database tool
brew install --cask dbngin
#
composer global require squizlabs/php_codesniffer