ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

anaconda_php

by DamnWidget ST3

Anaconda.PHP adds PHP linting, PHP code standards checking and complexity/messing detector that will never freeze your Sublime Text 3

Details

Installs

  • Total 17K
  • Win 12K
  • Mac 3K
  • Linux 3K
Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3
Windows 0 1 1 1 0 1 2 2 0 0 0 1 0 0 2 1 1 4 0 0 2 1 1 2 1 2 1 1 0 0 2 0 0 4 1 1 0 3 2 1 0 3 4 3 6 5
Mac 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 1 2 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 2 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0

Readme

Source
raw.​githubusercontent.​com

AnacondaPHP

Anaconda.PHP adds PHP linting, PHP code standards checking and complexity/messing detector and copy & paste code blocks detector for your Sublime Text 3 that uses anaconda's engine so it does not freezes your Sublime Text 3 ever.

Supported Platforms

AnacondaPHP has been tested in OS X and GNU/Linux with excelent results although the plugin is not in a mature state yet and more development and tests is required. The current status in the different platforms is:

  • GNU/Linux: stable
  • OS X: stable
  • Windows: stable

Dependencies

  1. Anaconda plugin for Sublime Text 3
  2. PHP Interpreter

Installation

If Anaconda is not already installed you should install it using the Command Palette, if it is already installed, just skip to the next section

Install Anaconda plugin

  1. Show the Command Palette (cmd+shift+p on OS X or ctrl+shift+p on Linux/Windows)
  2. Type install, then select Package Control: Install package from the list of options
  3. Type anaconda and press enter

Install PHP

If you have PHP already installed in your system, just go forward to the next section.

There is too many ways to install php in different operating systems, is already installed in OS X and in the majority of the mainstream GNU/Linux distributions, please, refer to the PHP Documentation site to get details about how to install PHP in your operating system.

Install AnacondaPHP plugin

  1. Show the Command Palette (cmd+shift+p on OS X or ctrl+shift+p on Linux/Windows)
  2. Type install, then select Package Control: Install package from the list of options
  3. Type anaconda_php and press enter

And we are done

Wait, all the others plugins to lint php code require to install PEAR and a couple of command line applications in manual way, does not anaconda_php require them?

Yes, it does, but everything is already built inside the plugin so you don't need to bother about install anything yourself. You are welcome :)

Does AnacondaPHP autocomplete PHP code?

No it doesn't. Unfortunately there is no PHP autocompletion libraries (as the awesome Jedi that Anaconda uses for Python autocompletion), the only thing that I know that can be used to autocomplete PHP is Exuberant CTags, there is already a plugin to use CTags in Sublime Text, you can found it here

How I configure the plugin?

Please, refer to the Configuration file it's all well documented.