Psalm
framework
Our great sponsors
Psalm | framework | |
---|---|---|
45 | 12 | |
5,434 | 70 | |
0.6% | - | |
9.9 | 3.9 | |
7 days ago | 11 months ago | |
PHP | PHP | |
MIT License | Apache License 2.0 |
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 .
framework
- Any suggestions for lighter frameworks than Laravel?
-
Introducing FEAST Framework v3.0.0! PHP 8.2 required.
In April of 2021, version 1.0 of FEAST Framework was released. One year ago, version 2.0 of FEAST Framework was released. Today, I am happy to announce the release of version 3.0 of FEAST Framework.
- What are the popular PHP Frameworks you are using for the development of web applications and why?
-
Good PHP Source Code
I would like to submit https://github.com/feastframework/framework to this. It's a small framework I wrote and what I think sets it apart is it has 100% code coverage with PHPUnit and has 100% static type analysis with psalm.
-
What is your favorite PHP stack and why?
FEAST Framework. Go figure.
-
Adding Test Suite to Someone Elses Project
This isn't quiiiite the same as your scenario, but in December the (not yet at that time) version of FEAST Framework didn't have a single unit test outside of one simple class (The Date class). By March, it had 100% coverage.
-
How to convert a PHPUnit testsuite to Pest
You can find it here: FEAST Framework
-
On using PSR abstractions — Matthias Noback
I have minor issues with the PSR-11 interface due to it not being capable of strong typing on the variables... And yet my framework (https://github.com/feastframework/framework) uses it. It's nice to have that layer of flexibility. Admittedly, I pissed a few people off by just throwing the interface in my codebase but whatevs 😂
-
Test-Driven Development by Example (PHP Code Samples)
This book actually had a very large hand in the development of my PHP Framework FEAST and definitely is one of the books that inspired my goal (which was achieved) of 100% code coverage.
- Introducing FEAST Framework
What are some alternatives?
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
Elgg - A social networking engine in PHP/MySQL
phan - Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.
trongate-framework - The Trongate PHP framework
Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
tina4-php - Tina4 PHP composer repository
PHPCompatibility - PHP Compatibility check for PHP_CodeSniffer
Pimple - A small PHP dependency injection container
PHP Code Sniffer - PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
fram - Fram is a view framework for PHP
Qodana - 📝 Source repository of Qodana Help
tdd-php - Test Driven Development by Example (Kent Beck) PHP Code samples