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.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope