Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Phpstan Banned Code Laravel Package

ekino/phpstan-banned-code

PHPStan extension that flags banned code patterns in your project (e.g., var_dump, dd, exit/die, eval, echo/print, shell exec/backticks). Configurable via PHPStan parameters, with optional checks like preventing use imports from Tests in non-test code.

View on GitHub
Deep Wiki
Context7
v3.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/ekino/phpstan-banned-code/compare/v3.0.0...v3.1.0

v2.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/ekino/phpstan-banned-code/compare/v2.0.0...v2.1.0

v2.0.0

What's Changed

New Contributors

Full Changelog: https://github.com/ekino/phpstan-banned-code/compare/v1.0.0...v2.0.0

v1.0.0
  • Improve PHPStan configuration file
  • Updated to PHPStan 1.0
  • Updated to PHPUnit 9.5
  • Drop support for PHP 7.2
v0.5.0
  • Migrate from Travis to GitHub Actions
  • Fix deprecated PHP-CS rules
v0.4.0
  • Drop support for PHP 7.1
  • Added support of dd function
  • Replaced deprecated localheinz/composer-normalize in favor of ergebnis one
  • Allow PHP ^8.0
  • Switch to the new security checker
v0.3.1
  • Fix deprecated config inside extension.neon file
  • Fix tests by adding nikic/php-parser as a required dev dependency
v0.3.0
  • Updated to PHPStan 0.12
  • Added testing on PHP 7.4
v0.2.0
  • Enable strict typing
  • Add coveralls and badges
  • Autoinstall through https://github.com/phpstan/extension-installer
  • Apply the BannedNodesRule only to named functions
  • Add functional tests with some code snippets that should be detected when running phpstan
v0.1.1
  • fix(exception): do nothing if node name is instance of Variable (closure case)
v0.1.0
v0.0.2
v0.0.1
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport