510 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Referred between 1 and 9 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 000 and 5 000 dollars
pxt says

I’ve been using Vim recently and need some advice on using it as an IDE for PHP

I’m looking for ways for Vim to autocomplete, show documentation (man pages) for built in functions and my own, etc. Jeffrey has something roughly similar to what I’m after which can be seen in this tutorial on NetTuts+ http://net.tutsplus.com/tutorials/php/create-your-first-tiny-mvc-boilerplate-with-php/

Thanks in advance!

PS – Vim is amazing – well worth learning! :)

2821 posts
  • Australia
  • Community Moderator
  • Elite Author
  • Author had a Free File of the Month
  • Most Wanted Bounty Winner
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Contributed a Blog Post
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+10 more
dtbaker Volunteer moderator says

eek!

I’m not sure vim is efficient as an IDE . Everyone I’ve worked with on real-world projects who loves vim is soooo slow, and has access to so many less IDE features to those using desktop IDE ’s (eclipse, phpstorm, etc..)

Maybe something could be botched together to get basic autocomplete / syntax checking / refactoring in vim, but my opinion is to leave vim in the terminal for quick server side changes (because it is very quick and easy to use) and leave a powerful desktop IDE for day to day use.

good luck! feel free to post anything you do find for others to try.

510 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Referred between 1 and 9 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 000 and 5 000 dollars
pxt says

eek!

I’m not sure vim is efficient as an IDE . Everyone I’ve worked with on real-world projects who loves vim is soooo slow has access to so many less IDE features to those using desktop IDE ’s (eclipse, phpstorm, etc..)

Maybe something could be botched together to get basic autocomplete / syntax checking / refactoring in vim, but my opinion is to leave vim in the terminal for quick server side changes (because it is very quick and easy to use) and leave a powerful desktop IDE for day to day use.

good luck! feel free to post anything you do find for others to try.

I see what you mean here and at the moment I am using both Netbeans and VIM and am trying to decide between the two. Both have their huge advantages. A perfect scenario would be a “PHP IDE ” plugin for VIM , but I don’t think one exists.

510 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Referred between 1 and 9 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 000 and 5 000 dollars
pxt says

This seems like an interesting read for anyone interested in Vim & PHP : http://www.koch.ro/blog/index.php?/archives/63-VIM-an-a-PHP-IDE.html

I’m going through it now.

by
by
by
by
by
by