Psalm
laravel-ide-helper
Our great sponsors
Psalm | laravel-ide-helper | |
---|---|---|
45 | 31 | |
5,428 | 13,865 | |
0.6% | - | |
9.9 | 8.4 | |
6 days ago | 14 days ago | |
PHP | PHP | |
MIT License | 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.
Psalm
-
Laravel code-quality tools
Psalm is a static analysis tool for PHP. Much like PHPStan is to Larastan, Psalm has a plugin called Laravel Psalm that allows you to easily use it in Laravel projects.
- PHP 8.3
-
PHP libraries and tools
Psalm: A static analysis tool for finding errors in PHP applications. Plugins: boesing/psalm-plugin-stringf: Psalm plugin to provide more details for sprintf, printf, sscanf and fscanf functions. hectorj/safe-php-psalm-plugin: vimeo/psalm plugin for thecodingmachine/safe. marartner/psalm-no-empty: Psalm plugin to detect usage of empty(). marartner/psalm-strict-equality: Psalm plugin to enforce strict equality. psalm/plugin-phpunit: A PHPUnit plugin for Psalm. psalm/plugin-symfony: Psalm Plugin for Symfony. weirdan/doctrine-psalm-plugin: Stubs to let Psalm understand Doctrine better. ghostwriter/psalm-plugin: Provides an ALL-IN-ONE plugin for Psalm
-
PHP-Tokio – Use any async Rust library from PHP
PHP 8 is the best version of PHP yet, and the main reason why it's so good is precisely because it got rid of a huge amount of ugly, legacy behavior.
Upgrading a codebase to PHP 8 is not an insurmountable task, I've upgraded our 1 million SLOC codebase at work in just a few weeks, with the help of tools like https://psalm.dev and our own strict coding standard.
- Devs interesados en aprender
-
Top 6 PHP code quality tools 2023
Psalm is a static analysis tool specifically designed for PHP. It performs advanced type inference and checks for various types of errors, including type errors, undefined variables, incorrect function calls, and more. It provides comprehensive code analysis and helps improve code quality and maintainability. Documentation: You can find more information about Psalm, including installation instructions and usage details, in the official repository: Psalm Repository
-
Avoiding empty() in PHP
vimeo/psalm
- [Laravel] Maintenant que PHPStorm prend en charge le Psaume et le PHPSTAN, lequel utilisez-vous / recommandez-vous pour les projets Laravel?
- TIL how PHP type hinting works
-
Templates available in Yii3.
Static analysis - Psalm .
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?
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
larastan - ⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
phan - Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.
vscode-intelephense - PHP intellisense for Visual Studio Code
Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
phpinsights - 🔰 Instant PHP quality checks from your console
PHPCompatibility - PHP Compatibility check for PHP_CodeSniffer
psalm-plugin-laravel - A Psalm plugin for Laravel
PHP Code Sniffer - PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
Laravel 6 - Powerful REPL for the Laravel framework.
Qodana - 📝 Source repository of Qodana Help
clockwork - Clockwork - php dev tools in your browser - server-side component