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 analyzes PHP code quality, style, architecture, and complexity from your terminal. 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

IDE Integration

Since <Badge text="^1.10"/> version of PhpInsights, you can add links to files in PhpInsights output.

Prerequisite & Troubleshooting

Links in terminal work thanks to symfony/console from 4.3 version. Be sure you are using this version with composer info symfony/console.

If your terminal does not support hyperlinks, they will be rendered as normal and non-clickable text.

That's why it's recommended to check out the list of terminal emulators that support hyperlinks.

Configuration

In your phpinsights.php file, add the config 'ide' => 'myide'.

For example:

<?php

return [
    // ...
    'ide' => 'vscode',
    // ...
];

Supported IDE

You can fill ide config with the followings values:

  • phpstorm
  • sublime
  • textmate
  • macvim
  • emacs
  • atom
  • vscode

::: tip About PhpStorm The phpstorm option is supported natively by PhpStorm on MacOS.

Windows requires PhpStormProtocol and Linux requires phpstorm-url-handler.

You may also have to enable the command-line launcher. :::

Unsupported IDE

If you use another editor, the expected configuration value is a URL template that contains an %f placeholder where the file path is expected and %l placeholder for the line number.

For example:

<?php

return [
    // ...
    'ide' => 'myide://open?url=file://%f&line=%l',
    // ...
];
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