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

Php​Connector

by chigix ST2/ST3

The connector plugin to support php development on sublime plugin

Labels php, plugin, develop

Details

Installs

  • Total 6K
  • Win 4K
  • OS X 648
  • Linux 904
Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4
Windows 2 1 4 2 3 2 2 3 2 1 2 3 2 2 0 3 3 3 8 7 4 4 1 0 3 1 2 2 2 4 3 2 2 3 3 3 3 2 5 2 4 2 0 3 4 4
OS X 1 0 0 0 0 0 1 0 0 1 1 1 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 0 0 1 0 0 1 0 2 1 0 0 0 0 0 0 0 0 1 0
Linux 0 0 1 0 1 2 0 0 0 0 0 0 0 1 1 0 0 0 1 0 1 1 1 0 0 3 0 0 1 0 0 0 1 0 0 2 2 2 0 0 0 0 1 0 0 0

Readme

Source
raw.​githubusercontent.​com

% PhpConnector for Sublime Text 2 & 3 % Richard Lea (chigix@zoho.com)

PhpConnector for Sublime Text 2 & 3

VERSION: 3.1.1

Author: Richard Lea (chigix@zoho.com)

Weibo: \@千木郷

Introduction

The plugin is to add support for php developers to develop a sublime plugin using php.

Installation

  • With Package Control

    If you have Package Control installed, you can install PhpConnector from inside Sublime Text itself. Open the Command Palette and select “Package Control: Install Package”, then search for PhpConnector.

  • Without Package Control

    If you haven't got Package Control installed you will need to make a clone of this repository into your packages folder, like so:

    git clone https://github.com/chigix/sublime-php-connector.git "PhpConnector"

    If you find error or wathever just fork it and send me a pull request.

Usage

The only binding key map: ctrl+shift+r(OS X: ⇧⌘P).

You can override it via user settings.

What's new

  • High speed communication towards php interpretor embedded
  • Greatly improved developing experience with sophisticated model and command utils.

v0.1.0: Created!

  • php connect support

v2.0: PHP programing interface framework.

  • ADD pandoc convert markdown to html support.

v2.5: Welcome

  • ADD multi-language support.
  • ADD filesystem encoding support.
  • ADD configure wizard on php_path and filesystem encoding.
  • FIX sublime 3 support.
  • IMPROVE error exception catch.
  • Game start for hacking sublime with PHP.

v3.0: Play Gardon

  • Thoroughly individual php interpretor embedded
  • Accelerate Communication between PYTHON and PHP.
  • Rewrite Markdown building script for the new version.
  • Improve the whole framework upon php with Data Model and Command Manager.

For Developers

As demo, All built-in commands definition were in sublime_php_command\Core\Commands\, and every execute class should be under a unique namespace and extends the abstract class BaseCommand to finish the registration into the PhpConnector Context.

Demos are in the sublime_php_command\Core\Commands\, so as you can see, their namespace was Chigi\Sublime\Commands. We suggest you open the COMPOSER support, so that you could define the namespace map by your self, which is though still in Experiment (Really too busy to commit without other supermans π_π).

License

The plugin is licensed under the MIT license.

Copyright © Richard Lea chigix@zoho.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.