phpstan-disallowed-calls
PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute & superglobal usages, with powerful rules to re-allow a call or a usage in places where it should be allowed. (by spaze)
composer-unused
Show unused composer dependencies by scanning your code (by composer-unused)
| phpstan-disallowed-calls | composer-unused | |
|---|---|---|
| 4 | 3 | |
| 320 | 1,635 | |
| 1.6% | 0.7% | |
| 8.1 | 7.6 | |
| 28 days ago | 8 days ago | |
| PHP | PHP | |
| 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.
phpstan-disallowed-calls
Posts with mentions or reviews of phpstan-disallowed-calls. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-08-27.
- Firewalling Your Code
We're using similar approach in PHP application by facilitating https://github.com/spaze/phpstan-disallowed-calls
In essence we have defined within each domain:
- Microservices aren't the problem. Incompetent people are
- Weekly "ask anything" thread
Maybe I found it myself: https://github.com/spaze/phpstan-disallowed-calls
- PHP libraries and tools
spaze/phpstan-disallowed-calls: PHPStan rules to detect disallowed calls and constant & namespace usages
composer-unused
Posts with mentions or reviews of composer-unused. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-26.
- Determine which dependencies are being used in a project?
Check https://github.com/composer-unused/composer-unused
- Styling console applications based on Symfony, Laravel, CakePHP, and other frameworks using Termage!
I like the idea and examples and I was looking for some time to improve console output for composer-unused, to be honest.
- PHP libraries and tools
composer-unused: Show unused composer dependencies by scanning your code
What are some alternatives?
When comparing phpstan-disallowed-calls and composer-unused you can also consider the following projects:
nocolor - Validate the architecture of your PHP project based on the concept of function colors
unused-scanner - Detect unused composer dependencies
phpstan-banned-code - Detect banned code through PHPStan
Composer - Dependency Manager for PHP
Infection - PHP Mutation Testing library
Melody - One-file composer scripts