PHPStan Alternatives

Similar projects and alternatives to PHPStan

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better PHPStan alternative or higher similarity.

Suggest an alternative to PHPStan

Reviews and mentions

Posts with mentions or reviews of PHPStan. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-11.
  • PHP-backend Roadmap
    dev.to | 2021-09-11
    But the quality of the code and its style may seem subjective things, but teamwork requires it really often. In the PSR-12 standard, you can find the list of recommendations on how to style it. That standard isn't the only existing one, but it's definitely the most common. To simplify following it you can use CodeSniffer. And in order to develop the habit of writing clean code, you can use Psalm, Phan, or PHPStan linters. There's no need to learn each – better to choose the one you like most. In my case it's Psalm.
  • How to get the most out of Angular configuration
    dev.to | 2021-05-12
    The first time I approached front-end development in Angular I was a bit off guard, especially for those like me who come from a back-end environment (specifically PHP) and are used to using strong typing within their projects (also thanks to static analysis tools such as Psalm or PHPStan).
  • Automating code quality check using GrumPHP in Magento 2
    dev.to | 2021-04-11
  • Avoiding type inference false-positives with flow-sensitive conditional analysis
    news.ycombinator.com | 2021-03-16
    > You might be aware already, but the examples aren't the same

    Yeah, because both TS and PHP have the same treatment of `!expr` I use the two interchangeably when demonstrating functionality, but the exactly comparable example is here:

    https://www.typescriptlang.org/play?#code/GYVwdgxgLglg9mABMO...

    > BTW, Psalm seems really cool! I've not used PHP in a long time, but I always felt it lacks tooling, so it's great to see people are making progress in that area.

    Yeah, it's not the only open-source static analysis tool for PHP – there's also https://phpstan.org, which is even more popular

  • A nice PHP CI pipeline
    reddit.com/r/PHP | 2021-02-23
  • Why developers hate PHP
    dev.to | 2021-02-22
    PHP7 is faster than Python and Ruby. The language can be strongly typed if you wish. Tooling is also evolving with static parsers that have appeared in recent years. Frameworks like Symfony or Zend force good practices. A new version is released every year with a very precise agenda. Moreover PHP7.4 is here with even more performance. Once again I won't list everything that is happening in modern PHP for the sake of length. If you want to know everything I invite you to read this article. It's time to change your vision on this language that has nothing to do with what it used to be.
  • How I take care of code quality with GrumPHP
    dev.to | 2021-01-30
    The PHPStan task focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before you write tests for the code

Stats

Basic PHPStan repo stats
7
10,177
9.9
7 days ago

phpstan/phpstan is an open source project licensed under MIT License which is an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
Find remote jobs at our new job board 99remotejobs.com. There are 24 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.