{"repo":"benmatselby/sublime-phpcs","free":true,"listed":false,"github":"https://github.com/benmatselby/sublime-phpcs","clone":"git clone https://github.com/benmatselby/sublime-phpcs.git","description":"🔍 PHP CodeSniffer, PHP Coding Standard Fixer, Linter, and Mess Detector Support for Sublime Text","language":"Python","stars":810,"topics":["sublime-text","sublime-text-plugin","phpcs","php-codesniffer","phpmd","fixer","linter"],"license":null,"category":"dev-tools","readme_excerpt":"sublime-phpcs This is a plugin for Sublime Text which provides checkstyle reports using the following tools (all optional): - PHP CodeSniffer ( phpcs ) - Linter ( php -l ) - PHP Mess Detector ( phpmd ) You can also configure the plugin to fix the issues using either - PHP Coding Standards Fixer (php-cs-fixer) - PHP Code Beautifier (phpcbf) application Requirements Requirements for this plugin, should you want all the options to work: - PHP CodeSniffer 3.5+ - PHPMD 2.8+ - PHP CS Fixer 2.6+ This plugin has been tested on: - Mac OS X 10.8.2 - Ubuntu 11.10 - Windows 7 - Sublime Text 2 - Sublime Text 3 - Sublime Text 4 It may work with other versions, but we cannot confirm that. Installation Use Sublime Text’s Package Control (Tools - Command Palette - Package Control: Install Package - Phpcs) to install this plugin. This is the recommended installation path. Or Simply checkout the git repo into “ /Library/Application Support/Sublime Text/Packages/ or the equivalent folder on Windows or Linux. In both cases, you may need to then configure the following with the actual path to the application: - “phpcs php path” - “phpcs executable path” - “phpmd executable path” - “php cs fixer executable path” They are optional for the plugin. The path needs to include the application such as /usr/local/bin/phpcs . In order to get the path of the application (On a Mac/Linux based environment), you can use: Features - Ability to run PHP CodeSniffer - Ability to run php -l on the open file - Abilit","default_branch":null,"files":null,"tree":[],"storefront":"/r/benmatselby","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/benmatselby/sublime-phpcs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}