Use to set 755 for all the folders recursively
sudo find . -type d -exec chmod 0755 {} \;
Use to set 644 for all the files recursively
sudo find . -type f -exec chmod 0644 {} \;
Use to set 755 for all the folders recursively
sudo find . -type d -exec chmod 0755 {} \;
Use to set 644 for all the files recursively
sudo find . -type f -exec chmod 0644 {} \;
| Base | |
| Install atom here https://atom.io/ | |
| Install atom-ide-ui and ide-php packages to make atom to Atom PHP IDE | |
| Theme | |
| I love Monokai theme its really good in both sublime and atom | |
| Go to install themes -> monokai -> install | |
| Go to installed themes -> UI theme -> One Dark -> Syntax theme -> Monokai |
| #Install PHP CodeSniffer | |
| brew install homebrew/php/php-code-sniffer #if using Homebrew | |
| git clone https://github.com/squizlabs/PHP_CodeSniffer.git phpcs #if you want to do it directly | |
| #Install WordPress Coding Standards | |
| git clone -b master https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git wpcs | |
| #Add WordPress standards to PHPCS config | |
| phpcs -i #shows the libraries installed | |
| phpcs --config-set installed_paths <path to dir that you cloned>/wpcs |