vscode-intelephense
laravel-ide-helper
vscode-intelephense | laravel-ide-helper | |
---|---|---|
26 | 31 | |
1,609 | 14,161 | |
- | - | |
7.7 | 8.0 | |
28 days ago | 16 days ago | |
TypeScript | PHP | |
GNU General Public License v3.0 or later | MIT License |
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.
vscode-intelephense
-
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.
-
Finding source codes? What’s the easiest way? (Me=noob)
You need to get the code, and use an IDE to help like vs code + PHP Intelephense (https://intelephense.com/)
-
Intelephense license key not recognized
I bought a license key to Intelephense https://intelephense.com/, and added the key as described in the documentation and several blog posts (at least I think I'm doing it right), however the paid features (e.g. rename symbol) don't work.
-
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.
-
Undefined type 'Spatie\Permission\Models\' . 'Permission' | 'Role' | 'HasRoles'
The error itself is the VSCode extension Intelephense, that is usually very helpful when writing PHP in VSCode, telling you that there is an error with an Undefined type ... after you have followed the steps outlined here in detail to install the permissions package on your Laravel app.
-
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 🙂
-
VSCode Intellisense and PHP
Look at either Intelephense or Devsense as plugins and you'll get a close to IDE level experience.
laravel-ide-helper
-
Elevate Your Laravel Eloquent Queries with Tappable Scopes
This works well, but it does make it harder for the IDE to handle unless you’re using something like the Laravel IDE Helper package.
-
VSCode for PHP and Laravel
barryvdh/laravel-ide-helper: IDE Helper for Laravel
-
Best practice for code-completion after retrieving an Eloquent model using Model::first()
Perhaps https://github.com/barryvdh/laravel-ide-helper? I haven’t used it in a while so can’t remember if it will specifically help with the results of methods like first().
-
What are some Good VS Code Extensions for PHP/Laravel?
This. As well as adding https://github.com/barryvdh/laravel-ide-helper as a dev package. Then run the artisan commands to generate helper files.
-
learning laravel and I see variable declarations? like this /** @var User $user */
As an addition to what others have said - For Laravel development specifically, it is worth adding the https://github.com/barryvdh/laravel-ide-helper package to your dev dependencies.
-
why do i get this error on vscode but, when i send a request to it works !!!!
https://github.com/barryvdh/laravel-ide-helper has helped me with this in the past.
-
Thoughts on "Hard Coding" properties for auto complete?
What you're looking for is: https://github.com/barryvdh/laravel-ide-helper
-
Why aren't certain methods showing on my model?
Laravel has some magic inside of it, that's why create() doesn't show up in your IDE completion. Not sure if it works in VS Code, but the ide-helper package helps PhpStorm to understand the internals of Laravel better.
-
Visual Studio Supremacy
Why do you need an IDE for PHP? Its not compiled, there’s no GUI etc. You can get autocompletion etc for laravel in VS Code too with https://github.com/barryvdh/laravel-ide-helper
-
Running Laravel IDE Helper Generator automatically
There is no exception in this case when using the package barryvdh/laravel-ide-helper that generates helper files that enable your IDE to provide accurate autocompletion.
What are some alternatives?
vscode-php-intellisense - Advanced PHP IntelliSense for Visual Studio Code 🆚💬
larastan - ⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
Phpactor - Mainly a PHP Language Server with more features than you can shake a stick at
phpinsights - 🔰 Instant PHP quality checks from your console
ctags - A maintained ctags implementation
Psalm - A static analysis tool for finding errors in PHP applications
vscode-php-debug - PHP Debug Adapter for Visual Studio Code 🐞⛔
Laravel 6 - Powerful REPL for the Laravel framework.
lsp-mode - Emacs client/library for the Language Server Protocol
clockwork - Clockwork - php dev tools in your browser - server-side component
php-mode - A powerful and flexible Emacs major mode for editing PHP scripts
psalm-plugin-laravel - A Psalm plugin for Laravel