yasnippet-snippets
a collection of yasnippet snippets for many languages (by AndreaCrotti)
vscode-intelephense
PHP intellisense for Visual Studio Code (by bmewburn)
Our great sponsors
yasnippet-snippets | vscode-intelephense | |
---|---|---|
4 | 26 | |
1,117 | 1,531 | |
- | - | |
7.0 | 5.6 | |
about 1 month ago | 4 days ago | |
YASnippet | TypeScript | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
yasnippet-snippets
Posts with mentions or reviews of yasnippet-snippets.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-20.
-
Key bindings to insert snippets/characters (Emacs+ESS)
I second yasnippet, it is extremely handy for all sorts of boilerplate (like LaTeX preambles, environments). There are many contributed snippets in the yasnippet-snippets repo that you can look at as examples.
-
Ability to search/pull elisp snippets from within emacs?
But you could look at what others do for Yasnippets? https://github.com/AndreaCrotti/yasnippet-snippets/tree/master/snippets/emacs-lisp-mode
- Hacking Fish Script In Emacs
-
Emacs PHP mode?
You may want yasnippets. It's in melpa. I don't use lsp-mode. Consider using gnu global with ggtags and ctags for parsing and indexing your code-base for searching for symbols within emacs.
vscode-intelephense
Posts with mentions or reviews of vscode-intelephense.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-01-13.
-
A guide on Neovim's LSP client
I'm going to use intelephense to show the minimal configuration needed to setup a language server in Neovim.
-
VSCode for PHP and Laravel
This is the most important extension to install for PHP support. It provides a fast language server that adds code completion, go to definition, formatting, and more. You can also purchase a license at Intelephense, which I highly recommend. It adds some additional features like renaming symbols and other code actions.
-
Replacing PHPStorm with VS Code
I'm quite happy with Emacs, coming from PhpStorm, using intelephense.com premium. I highly recommend.
-
How to log user logout date and time in database?
Follow this guide to configure and add PHP Intelephense.
-
Reducing Errors With Type Hinting in PHP
Furthermore, depending on which integrated development environment (IDE) you use, your editor detects the strict_types and warns you inside the editor before running your code. For example, I use the Intelephense extension inside Visual Studio Code, which warns me about wrong parameters before I run the code, like so:
-
PHP LSP integration
Helix should use Intelephense by default, so if you install that, it should work out of the box. You can find installation instructions here 🙂
-
What would be better VS Code or PHP Storm?
PhpStorm is probably the best solution if the license cost doesn't matter to you. Though I think that Visual Studio Code with either Intelephense or Devsense is incredibly Intelephense or Devsense is incredible competent for the price.
-
Any PHP programmers out there having flawless php autocompletion?
I'm using LSP + Intelephense. Works in 90% of cases.
-
Am I the only one left who dislikes IDEs?
My IDE — VSCode with intelephense doesn't have "bad/incorrect" auto completion for array_reduce. It gives phenomenal auto-completion and min-reference documentation that changes several times as I progress through writing the line of code - only showing the reference relevant for the argument I'm typing now.
-
Productivity in laravel
More generally - With a little work you can get VScode to have decent intellisense for php and there are some laravel plugins to enable click on strings to access views and stuff. (For a little cash you can get the refactoring features of INTELEPHENSE in vscode which IMO is worth the small cost if you're mostly VScoding php, although not really laravel specific).
What are some alternatives?
When comparing yasnippet-snippets and vscode-intelephense you can also consider the following projects:
vscode-php-intellisense - Advanced PHP IntelliSense for Visual Studio Code 🆚💬
Phpactor - Mainly a PHP Language Server with more features than you can shake a stick at
ctags - A maintained ctags implementation
vscode-php-debug - PHP Debug Adapter for Visual Studio Code 🐞⛔
laravel-ide-helper - IDE Helper for Laravel
lsp-mode - Emacs client/library for the Language Server Protocol
doom-emacs - My Doom Emacs configuration
php-mode - A powerful and flexible Emacs major mode for editing PHP scripts
eglot - A client for Language Server Protocol servers
marp-vscode - Marp for VS Code: Create slide deck written in Marp Markdown on VS Code