phanalist

Performant static analyzer for PHP, which is extremely easy to use. It helps you catch common mistakes in your PHP code. (by denzyldick)

Phanalist Alternatives

Similar projects and alternatives to phanalist

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

phanalist reviews and mentions

Posts with mentions or reviews of phanalist. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-12.
  • Traversing an AST of PHP source code.
    1 project | dev.to | 22 Jan 2024
    Phanalist needs a way to detect when we are in the function's scope with the name tooComplex(). With pattern matching, it is super easy to detect if the statement is either: if,else,etc.. The first statement that I want to match for is class Index{ and from there, we will continue down the tree. If you think the same way as I do you know that I will be using recursion to calculate the cyclomatic complexity. After we have matched the scope of the tooComplex() function.
  • How I made it impossible to write spaghetti code.
    1 project | dev.to | 20 Jan 2024
    In the following paragraph, we will see how phanalist can calculate the cyclomatic complexity of the scope of a method. Before creating Phanalist, I always kept the cyclomatic complexity of the methods I wrote in my mind. And if I see that the complexity is higher than 10. I always try to refactor the method, making it easier to understand.
  • Ask HN: Show me your half baked project
    163 projects | news.ycombinator.com | 12 Oct 2023
    https://github.com/denzyldick/phanalist

    I'm trying to write a static analyzer for PHP. It's written in RUST and it's a personal project of mine to learn rust and also make a FAST static analyzer for PHP projects that are big. I started with this project because the current static analyzers in the PHP ecosystem are slow.

    It would be nice if there were people that would like to contribute. If you want to learn rust and you have PHP experience you are welcome to help.

  • Ask HN: What's your most starred repo?
    4 projects | news.ycombinator.com | 24 Feb 2023
  • A new PHP static analyser(Phanalist)
    1 project | news.ycombinator.com | 23 Feb 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 27 Apr 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic phanalist repo stats
5
107
9.3
1 day ago

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

The primary programming language of phanalist is Rust.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com