From school dropout nad part-time homeless to developer with experience in science (Max-Plancks-Institute by Göttingen), Insurance (Check24) and now as contractor/freelancer in various fields.
Just out of curiosity:
Which nvim php setup do you have?
(Neo)vim is my go-to editor for bash, python, c and almost everything else, but in php I find the usage kind of behind storm/etc but I suspect this might be because I have the wrong plugins?
Easy testing, git access (Gina or fugitive?) And finding definitions and usages of symbols (like methods, constants and classes) would be nice. I tried the ctags based ones, but they're not really compatible with proper DependencyInjection or newer php features :(
I'm a professional PHP, Python and Javascript developer from the UK. I've worked with Django, Laravel, and React, among others. I also maintain a legacy Zend 1 application.
I make heavy use of PHPActor, which gives me the same sort of refactoring tools as you find in an IDE, as well as navigation and really good completion.
I also use vim-ale, which works with a number of syntax checkers, including the basic PHP syntax check, CodeSniffer and Psalm, as well as ESLint and Flow for my Javascript.
For fuzzy search, I use vim-fzf with FZF and Ripgrep, while I use Fugitive for git support.
From school dropout nad part-time homeless to developer with experience in science (Max-Plancks-Institute by Göttingen), Insurance (Check24) and now as contractor/freelancer in various fields.
I'm a professional PHP, Python and Javascript developer from the UK. I've worked with Django, Laravel, and React, among others. I also maintain a legacy Zend 1 application.
I have used both to some extent, and I personally prefer Psalm over PHPStan, largely because I found it was better suited to legacy code (it was built for Vimeo's legacy code base) as a lot of my work is on a messy legacy application and it's had the ability to set a baseline for existing code right from the start. But vim-ale supports both so there's no need to switch if you want editor integration.
From school dropout nad part-time homeless to developer with experience in science (Max-Plancks-Institute by Göttingen), Insurance (Check24) and now as contractor/freelancer in various fields.
Just out of curiosity:
Which nvim php setup do you have?
(Neo)vim is my go-to editor for bash, python, c and almost everything else, but in php I find the usage kind of behind storm/etc but I suspect this might be because I have the wrong plugins?
Easy testing, git access (Gina or fugitive?) And finding definitions and usages of symbols (like methods, constants and classes) would be nice. I tried the ctags based ones, but they're not really compatible with proper DependencyInjection or newer php features :(
I make heavy use of PHPActor, which gives me the same sort of refactoring tools as you find in an IDE, as well as navigation and really good completion.
I also use vim-ale, which works with a number of syntax checkers, including the basic PHP syntax check, CodeSniffer and Psalm, as well as ESLint and Flow for my Javascript.
For fuzzy search, I use vim-fzf with FZF and Ripgrep, while I use Fugitive for git support.
Great, I already use fzf and rg heavily in zsh. So even better to integrate it in vim.
I thought about ale in combination with python so now I'll definitely give it a try!
Thanks for you answer this actually helps.
One off topic question: why psalm and not phpstan? I tried only Stan and Codesniffer and am curious if psalm might add sth useful to my toolbelt :).
I have used both to some extent, and I personally prefer Psalm over PHPStan, largely because I found it was better suited to legacy code (it was built for Vimeo's legacy code base) as a lot of my work is on a messy legacy application and it's had the ability to set a baseline for existing code right from the start. But vim-ale supports both so there's no need to switch if you want editor integration.
Then I final thank you. Have a productive week ;)