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

Phpinsights Laravel Package

nunomaduro/phpinsights

PHP Insights is a terminal tool to analyze PHP code quality, style, architecture, and complexity. Works out of the box with Laravel (artisan insights), Symfony, Yii, Magento, and more, with built-in checks for reliability and loose coupling.

View on GitHub
Deep Wiki
Context7
v2.12.0

Changed

v2.11.0

Changed

v2.10.0

Changed

  • disable default ignore for dot/vcs files for single files #663
v2.9.0

Added

  • Add option to set timeout #595

Fixed

  • fix readonly final class architecture side effect issue PHP8.2 #645
  • add quotes around binary path #655
  • Fix error: The option "preset" with value "wordpress" is invalid #646
  • Fix non-existing default property #652
  • PHP 8.2 fix for dynamic property $exclude #653
  • Prevent the runner to swallow its threads error #641

Changed

  • Update GitHub actions #633
  • Test against php 8.3 #660
v2.8.0

Added

  • Added Laravel 10 and PHP 8.1 Support #626
  • fix string interpolation deprecation messages in PHP 8.2 #628

Changed

  • Update readme.md to 2023 #627
  • update phploc #630
  • update GH actions #631
  • Update Quick start #625
  • Adjust interpolation #632
v2.7.0

Added

  • Added support for slevomat/coding-standard:8.0 (#611)

Changed

  • Fixed some wording and typos (#606)
  • Docs: fixed typo (#608)
  • Fixes typos in stub files. (#607)
  • Grammar change (#610)
v2.6.1

Changed

  • Changed the foreground color of the box labels in console output (#600)
v2.6.0

Added

  • Describe how to exclude insight per particular method (#543)

Changed

  • Update diff dependency (#599)
v2.5.0

Added

  • Add WordPress adapter (#378)

Changed

  • docs: Add White border to work on Dark Mode Theme (#545)
  • Fix always loading CodeSniffer tokens (#542)
  • Handle summary option in JsonFormatter (#541)
  • Fixing required dependencies (#591)
  • Update GH actions to run successfully (#597)
  • Fix typos (#594)
v2.4.0

Added

  • add laravel 9 to GH actions test suite (#581)

Changed

  • Allow psr/simple-cache ^2.0 and ^3.0 (#580)
v2.3.0

Changed

  • Feature/doc updates (#571)
  • Update config key for ordered class elements fixer (#574)
  • Remove composer dependency, insights, and tests (#575)
v2.2.0

Fixed

  • Fix ComposerLoader (#566)
  • Fix exclude ForbiddenGlobals sniff (#562)

Changed

  • Bump docker to php 8.0 (#570)
v2.1.0

Added

  • Support for Laravel 9
v2.0.1

Fixed

  • Fix double slash when inspect absolute folder path at first level of root (#509)
  • Fix retrieving composer binary path in SyntaxCheck (#505)
  • Fix in documentations (#507, #515)

Changed

  • More robust docker example in doc (#516)
v2.0.0

Added

  • Minimal PHP version is now PHP 7.4 (#391)
  • Support multiple path to analyse (#384)
  • Autofixer (#337)
  • Syntax check Insight is now using PHP-Parallel-lint (#373, #437, #487)
  • Cache on analysis (#407)
  • Allow to override preset config (#420)
  • Support Composer v2 (#433, #442)
  • Support phploc v7 (#428)
  • Parallelization of analysis (#414)
  • Support PHP8 (#448)
  • CheckStyle report use the dot notation format to be using with Checkstyle parsers (#464)
  • Allow to use version in composer.json (#473)
  • Upgrade to Slevomat/Coding-standard v7 (#477)
  • New option to show summary only (#481)
  • Support PHP-CS-Fixer v3 (#490)
  • CodeClimate Formatter (#498)
  • Configuring Fixers indentation (#502)
  • Diff output configurable (#482)

Fixed

  • Performance issues (#382, #387, #405)
  • Check that lock file exist (#389)
  • Avoid conflict with phpcs config file (#402)
  • Clean display message without file target (#404)
  • IDE Link with colors (#413)
  • No error trigger when Details Message issue contains console styling (#447)
  • Excluded files from Cyclomatic Complexity are no more take in account for score (#460)

Changed

  • Refactoring code (#391, #393)
  • Process Security Checks during the project inspection (#406)
  • Drop Travis-CI and use GithubAction (#448)
  • Drop object-calisthenics/phpcs-calisthenics-rules dependency (#477)

Deprecated

  • Some Insights hare now deprecated or namespace changed. Find them [here (#477)]#477
v1.13.0

Added

  • Sort issues by file, line, function and lastly message (#348)
  • Support multiple formatters (#357)
  • Support custom class formatters (#357)
  • Added diff from fixer to JSON formatter (#356)
  • Check PHP version from composer to determine native type hint (#347)
  • Added GitHub Action formatter (#344)

Fixed

  • Prevent failing on empty namespace (#352)
v1.9.0

Added

  • Better support to Laravel Lumen (#247)

Fixed

  • Issue when internal insight code is an integer (6c6650f)
v1.8.1

Fixed

  • Throwable sniffs (#249)
v1.8.0

Added

  • Authorize analyse of one file or specific directory (#195)
  • Configure search use in annotation (#196)
  • Add changelog to website (#204)
  • Json & Console formatters (#201)

Fixed

  • Merge config with default config (#196)
v1.7.0

Added

  • ComposerMustBeValid and ComposerLockMustBeFresh insights (#169)
  • CyclomaticComplexityIsHigh max complexity is now configurable (#190)
  • Possibility of ignoring files on specific insight (#182)
  • Possibility of disable ForbiddenSecurityInsight (#175) (#187)

Fixed

  • Non used files are no included anymore while requiring php insights (#189)
v1.6.0

Added

  • Laravel preset now ignores model attribute setters (#154)
  • Ignores package managers folders by default (#144)
  • Ignores blade.php files (#155)
  • You can now exclude files and directories (#75)
  • Automatic docker image build on new release (#160)

Changed

  • Upgraded sensiolabs/security-checker dependency to ^6.0 (#158)

Fixed

  • Fixed a bug with optional type hints increasing cyclomatic complexity (#150)
v1.5.0

Added

  • Better support with nette dependencies

Fixed

  • Complexity over 100.0
v1.4.0

Added

  • Drupal preset (#120)
  • Display insight class name on verbose mode (#139)
v1.3.1

Fixed

  • Missing option --disable-security-check (#106)
  • Overwrite of existing preset config options (#111)
  • [Laravel Preset] Ignores TelescopeServiceProvider::class (#113)
v1.3.0

Added

  • Magento2 preset (#102)

Fixed

  • Exit error code on security issues (#106)
v1.2.1

Fixed

  • Wrong insight RequireShortTernaryOperatorSniff (7e10c18)
  • Missing dependency ext-iconv (#90)
v1.2.0

Adds

  • Forces getting 1.2 using composer require
v1.14.1

Changed

  • Switch service to discover vulnerabilities (#453)
v1.14.0

Added

  • ddd & tinker as forbidden method names Laravel (#364)
  • Support to Laravel 7 (#369)
  • min-requirements configurable through file (#362)

Fixed

  • Hanging on invalid php code (#358)
  • Aggregates diffs in the same error (#377)

Changed

  • Removed Static closure advice on Laravel (e9d2a62)
v1.12.0

Added

  • Text coloring per section (#339)
  • Support to slevomat coding standard 6 (#342)
v1.11.1

Fixed

  • Exclusion in ForbiddenFinalClasses Insight (#326)
v1.11.0

Added

  • Support to Symfony 5 (#324)
v1.10.3

Fixed

  • Assert IDE is defined before resolving it (#319)
v1.10.2

Fixed

  • Exclusion in ForbiddenTraits Insight (#316)
v1.10.1

Changed

  • Reorganize place of some Insights (#313)

Fixed

  • Duplicate empty comment Insight (#311)
  • Remove VoidReturnFixer in laravel Preset (#312)
v1.10.0

Added

  • Checkstyle formatter (#271)
  • PHP CS Fixer Wrapper (#219)
  • Responsive view in Console (#273)
  • IDE Url handler (#265)
  • Offline usage (#292)
  • Directory exclusion in Insights config (#293)
  • Favicon in website (#281)

Changed

  • Drop easy coding standard dependency (#252)
  • Use a configuration class (#283)
  • Improve verbose progress bar (#291)

Fixed

  • Silence Warnings (#253)
v1.1.1

Fixed

  • Lock symplify dependencies (167292c)
v1.1.0

Adds

  • Options --min-quality, --min-complexity, --min-architecture, --min-style (#67)

Fixed

  • Issue when composer require key is empty (#76)
  • Issues displaying scores above 10 (#57)
v1.0.5

Fixed

  • [Laravel Preset] Ignores ide_helper_models (#51)
v1.0.4

Fixed

  • PHP warning while using --no-interaction option (f68e13a)
v1.0.3

Fixed

  • Usage on composer global (ccecff5)
v1.0.2

Fixed

v1.0.1

Fixed

  • [Laravel Preset] Ignores _ide_helper.php (#46)
v1.0.0

Added

  • First version
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