sponsor Vim development Vim logo Vim Book Ad

Vim PHP Wrapper : A plug-in to speed up PHP development

 script karma  Rating 4/1, Downloaded by 1558  Comments, bugs, improvements  Vim wiki

created by
script type
Vim PHP Wrapper (vphpw) is a Vim plug-in to help improve PHP development
productivity. It provides functions for common tasks such as importing classes,
running, testing, or documenting PHP code as well as simple APIs for custom

For unit testing, vphpw supports PHPUnit out of the box. Codeception is also
supported to a certain extent.

For more information and demos,



  * Tested with Vim 7.4 and 8. Might still work with 7.3.
  * Vim's `tags` for class import functions.

Some features vphpw provides:

  * Check for syntax (not in real-time).
  * Import classes.
  * Run the current PHP buffer with default or manually specified options.
  * Test with default or manually specified options.
  * Run a test class or specific test case.
  * Execute the last command on the last or current target.
  * Generate docblock.
  * Align docblock.
  * Reset/Delete docblock.
install details

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-php-wrapper-1.0.2.tgz 1.0.2 2017-07-18 7.4 diepm * Set default value of import-as to the class under cursor.
* Sort use statements ignoring case by default.
vim-php-wrapper-1.0.1.tgz 1.0.1 2017-06-28 7.4 diepm * Fix closing a tagged file also wipes out an existing buffer.
* Fix tag conflict in help file.
vim-php-wrapper-1.0.0.tgz 1.0.0 2017-06-21 7.4 diepm Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.