Skip to content

padawan-php/padawan.sublime

Repository files navigation

Padawan.sublime

No plans for Windows support

Padawan.sublime is a Sublime Text 3 plugin for padawan.php server , a smart PHP code completion server for Composer projects.

This plugin includes:

  • Completion
  • Commands for index generation and index saving
  • Commands for starting, stopping and restarting the server

Installation

  1. Make sure you've installed padawan.php server
  2. Install this plugin via Package control or clone this repo to /path/to/your/sublime-text-3/Packages/

Demo video

Click the image below to watch a short video on what Padawan.sublime can already do.

ScreenShot

Requirements

Padawan.php requires PHP 5.5+

Running

To get smart autocompletion all you need to do is the following easy steps:

  1. Open your php composer project
  2. Run the Padawan: Generate Index from the command palette
  3. Run the Padawan: Start Server from the command palette after index generation has stopped
  4. Enjoy smart completion

Plugins(Extensions)

You can extend Padawan.php by installing plugins. See Plugins List for more info.

Installing

Use Padawan: Add plugin and type plugin name, for example mkusher/padawan-di

Removing

Use Padawan: Remove plugin and choose one of the installed plugin from the list.