Skip to content

Instantly share code, notes, and snippets.

@guiliredu
Last active May 29, 2019 23:21
Show Gist options
  • Save guiliredu/ad5d45d4a2154ee3da6007ea20f0df80 to your computer and use it in GitHub Desktop.
Save guiliredu/ad5d45d4a2154ee3da6007ea20f0df80 to your computer and use it in GitHub Desktop.
Sublime Configuration

Sublime Configuration

Packages

  • Fileicons
  • Laravel Blade Highlighter
  • Vue Syntax Highlight
  • Sass
  • Emmet
  • Emmet CSS Snippets
  • PHP Companion
  • Sublime Linter
  • SnippetMaker
  • PhpDoc

SublimeLinter

PHPCSFixer

  • https://github.com/FriendsOfPHP/PHP-CS-Fixer
  • Install php-cs-fixer globally with composer composer global require friendsofphp/php-cs-fixer
  • Create a new build system with Sublime and add the following contents
  • Chose the build system you just created in Tools > Build System
  • Hit CTRL/CMD + B to run
{
    "shell_cmd": "php-cs-fixer fix '$file' --rules=@PSR2 --using-cache=no"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment