phpgrep
Syntax-aware grep for PHP code. (by quasilyte)
php-parser
PHP parser written in Go (by VKCOM)
phpgrep | php-parser | |
---|---|---|
1 | 2 | |
234 | 69 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | 7 months ago | |
Go | Go | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
phpgrep
Posts with mentions or reviews of phpgrep.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-31.
-
NoVerify — static analyzer for PHP
phpgrep — a structured search tool that allows you to search for code through special templates
php-parser
Posts with mentions or reviews of php-parser.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-25.
-
php-parser for PHP 8.0-8.2 is released
For our projects, we need a fast PHP parser. We used the wonderful php-parser written on Golang for a long time, but its author unfortunately froze the development and we had to do a fork and add support for PHP 8. And recently, our parser began to fully support PHP 8.0-8.2! 🎉
-
NoVerify — static analyzer for PHP
In order to support PHP 8, we ourselves had to modify the already existing parser, the author of which unfortunately stopped developing it after PHP 7.4. However, the community now has a full fledged parser PHP 8 on Go. Why parse PHP in Go, you ask? Again, it's a matter of speed, if your tool is aimed at large codebases, then you have to somehow get out and use such solutions.
What are some alternatives?
When comparing phpgrep and php-parser you can also consider the following projects:
phpqa - Docker image that provides static analysis tools for PHP
noverify - Pretty fast linter (code static analysis utility) for PHP
participle - A parser library for Go
nocolor - Validate the architecture of your PHP project based on the concept of function colors
no-verify - Docker image for PHP static analysis tool no-verify
go-auto-commenter - A go tool to add comments automatically on all the exported functions in a go project
PHP-Parser - PHP parser written in Go
chroma - A general purpose syntax highlighter in pure Go