Sublime Text Package (DEPRECATED)
Python JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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.


To install the plugin under Linux:

cd ~/.config/sublime-text-2/Packages
git clone 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"