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

PHP Namespace Command

Sublime Text Package (DEPRECATED)

Details

Installs

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

Readme

Source
raw.​githubusercontent.​com

SublimeText Package by Alexandre Salomé

DEPRECATED: It is recommended to use SublimePHPCompanion, a complete plugin for PHP development.

This packages provides a shortcut to insert the namespace definition in a PHP file. It has support for PSR-0 style namespaces and support for PSR-4 if Composer is used.

Installation

To install the plugin under Linux:

cd ~/.config/sublime-text-2/Packages
git clone https://github.com/alexandresalome/sublime-alom Alom

This package provides:

  • php_namespace: Insert PHP namespace

Shortcuts for commands

You can add it to your shortcuts: go to Preferences, Key Bindings (User) and add the following lines:

[
    {
        "keys": ["ctrl+alt+n"], "command": "php_namespace"
    }
]